I'm running FOP 0.95 with embedded code.

I'm loading my font in using EmbedFontInfo with font file lucon.ttf
(copied from with Windows XP system font folder), using a file:///
reference to point to the ttf, passing in null for the first parameter
(metrics file), then adding the EmbedFontInfo to a java.util.ArrayList
to pass in to the PDFRenderer (setFontList) which I use on my
FOUserAgent with setRendererOverride.

Maybe this isn't the best or proper way to load in a custom embedded
font but it's working.
Then I pass a text value of "☑" in my XML.  When the transformer
uses FOP to translate the XML into output, this prints a square.
I tried replacing my fop.jar with one that I compiled from the Trunk,
and instead of printing the square it printed an error message to the
Java Console that the font doesn't contain the specified glyph.
I haven't checked if the 1.0 is available for download to test with
that.
I don't remember where I came up with this character value.  Is this
supposed to print a square, which would be an error in the Trunk, or was
this an error in the 0.95 and it was actually supposed to say it
couldn't find the glyph?

Reply via email to