Babar Ismail wrote:

The font information, etc is shown in the XSL-FO file attached. But
fyi..

font-family="Times New Roman,any".

This is not what I meant. You need to create the metrics.xml file and register it in the userconfig.xml file.

I can get any font to work but the only problem I face is that when FOP
0.20.5 encounters a character whose code-point is greater than 255, it
renders it as a # character indicating that it is unrecognized.

This means the font does not have a glyph for the requested codepoint.


All I need to know is how to get the Unicode character with code-point
values greater than 255 to be displayed correctly.

You need to use a font that has glyphs for the corresponding code point. Times, Helvetica and the other standard 14 fonts do not contain Arabic glyphs. So you need to register a custom font, using the technique documented on the website:

http://xmlgraphics.apache.org/fop/0.20.5/fonts.html

<snip/>

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to