Hi all,

I am trying to use the following code to place a barcode in my PDF document:

new PdfBarcode("CODE39.TTF", PdfBarcode.CODE39, 36, "0123465678")

The above code works, but when I try and view the pdf, the barcode does not show up because the font is not installed on that specific platform.

According to the docs, it is possible to use BaseFont to embed a font within the PDF. The docs for PdfBarcode do not mention anything about using BaseFont to embed the barcode font, nor does it seem to be possible to pass a Font or BaseFont object to PdfBarcode.

How can I use PdfBarcode and embed the barcode font into the PDF at the same time?

Regards,
Graham
--
-----------------------------------------
[EMAIL PROTECTED]               "There's a moon
                                        over Bourbon Street
                                                tonight..."



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to