Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] How generate the PDF417 with special font?

Bruno

2007-11-01


Marcel Gil Vega wrote:
> I want to use the font to generate it because i want to print the output
> barcode image.

And as iText creates the PDF417 barcode as a vector image,
NOT as a raster image, you are better of using the iText way
of creating barcodes.

> I does not obtain good quality of image when a print directly from
> image.

As 'resolution' is not an issue with iText generated barcodes
(it's just vector data; there is no such thing as resolution when
it comes to iText generated barcodes), you can avoid this problem.

Unless of course the device that you are using to print the PDF
has a very poor resolution. In this case you will experience the
same problem using a PDF417 font.

> I set different parameters to graphics object like:
>         g = e.Graphics;
>         g.SmoothingMode = SmoothingMode.AntiAlias;
>         g.InterpolationMode = InterpolationMode.HighQualityBicubic;
>         g.PixelOffsetMode = PixelOffsetMode.HighQuality;
> but i never receive a clean black rectangle image.

I have no idea what this code sample has to do with iText.
Are you sure we are talking about the same thing?
br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.