Print Bar Code font on PDF

By: Davide Braghieri - sbrega
Print Bar Code font on PDF
2003-04-11 01:59
i write this font on XML file ( <font fontName="3 of 9" reportFont="Arial_Normal" pdfFontName="3Of9" size="20" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />) but when create PDF i get the error message :
Could not load font from location : 3Of9

I have installed the font, i have also placed the font in the /reports path.
When i create a new PDF with Acrobat 5 i can use correctly the font ( show in font list as 3Of9)!!!

Can anybody help me??




By: Phil Roffe - philroffe
RE: Print Bar Code font on PDF
2003-04-15 05:12
I had a similar problem when I tried to create a PDF using that font.

The font declaration I use in my xml file is:
<reportFont name="Barcode" isDefault="false" fontName="3 of 9 barcode" size="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="External TTF font" pdfEncoding="CP1252" isPdfEmbedded="true"/>

When using the font in a textElement I use:
<font reportFont="Barcode" pdfFontName="3OF9.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="CP1252" isStrikeThrough="false" />

I used IReport to generate most of my XML code, and then tweaked it to get it to work.

Hope this helps.
2002 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:28am
Last seen: 16 years 5 months ago

0 Answers:

No answers yet
Feedback
randomness