2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now