I am using FO formatting in xml to create a pdf. I can create the pdf fine, and get my tables to look nice, but any time I try to use a font other than 'Helvetica' or 'Sans-serif' it doesnt recognize the fonts.
This really wouldnt be a problem, except I want to use the code ਲ to fill in a checkbox in a certain spot.
I put in the code, and it just displays a "#". I did some googling and some people mentioned that I need to use DTD or import some fonts or something.
I tried looking into these, but I couldnt find anything useful to me.
I was just wondering if someone could either give me a link, or explain how I import fonts to an XML file, or how to use DTD
*edit*
here is the post I found online in regards to my issue
Quote:
The font-family you are calling does not contain a glyph for this character.
Hence the output '#'. By default, FOP only uses the base 14 fonts.
To use a font that includes this glyph, you need to build a font metrics
file (in xml) for the font using either PFMReader or TTFReader (part of the
Apache FOP distribution), then register the font with FOP by modifying or
setting up an FOP configuration file.
Thanks,
Smitty
