Manuel Mall skrev:
On Friday 22 December 2006 17:49, Asbjørn Thorsen wrote:
Manuel Mall skrev:
On Thursday 21 December 2006 23:34, Asbjørn Thorsen wrote:
We have a XML document in UTF-8 encoding. It contains characters
for the sami (lappish) language. When we generate postscript
documents with FOP/XEP the resulting document is missing 3
characters. These are all replaced by the character \240 in XEP
and '#' in FOP. The characters in question are 0xc4 0x91, 0xc5
0x8b, 0xc4 0x8d in UTF-8. Why does this happen ? And how can we
solve this problem ?
I have attatched a sample document which shows the problem.
Which font are you using for rendering. I assume the Adobe default
fonts don't contain the glyphs for those code points. You need to
use a font which contains those glyphs.
Merry christmas !
Asbjørn Thorsen
Manuel
So what you're saying that if we choose a font that has the glyphs we
need, then FOP/XEP will use different codes for the characters
instead of just using /240 or '#' for all of them ?
Basically yes, if the font used doesn't contain the glyph then a) FOP
cannot calculate how much space to reserve for the character and it
makes some default assumption and b) when displaying the PDF the PDF
viewer has no means of rendering the character.
I assume you know how to configure using fonts other than the default
PDF fonts. If not see
http://xmlgraphics.apache.org/fop/0.92/fonts.html.
Manuel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
That was quite helpful. Thanks a lot :-)
Merry christmas
Asbjørn
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]