Java Mailing List Archive

Home » Home (12/2007) » iText »

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



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?

This 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 >>
iText-questions mailing list
Buy the iText book:
©2008 - Jax Systems, LLC, U.S.A.