Re: Bad pdf document with embedded Times New Roman font
The font-triplet name must match to the font-family. Change to font-family="Times, serif". Adam Skowronski wrote: I tried to create PDF document and embed Times New roman font (because I need some character from ISO-8859-2 codepage). I included Times New Roman into configuration as follows In XML-FO I have: Zawarta w dniu #datazawarcia# między wszystkimi a wszystkimi, że nie będzie nigdy niczego i nigdzie. Tak nam dopomóż Krzysztof Kononowicz. FOP executes without errors, pdf file is created, but acrobat reader (Windows or Linux version) crashes with message: There was an error processing a page. There was a problem reading this document (135). xpdf from Linux displays document correctly. If I remove from configuration this particular font (but still embed others), acroread can read document. Do anyone know solution or maybe right questions to ask? - I'm using FOP 0,93 java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2) Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32142-20060824 (SR6) (JIT enabled: jitc)) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: font-family="Arial Unicode MS" in rtf doesn't work
Thanks Jeremias it's work! If we want to use font name with whitespaces like "Arial Unicode MS", we must put it in quotes. If I understand well, I think we can even do this font-family="'Arial Unicode MS', 'Lucida Sans Unicode', sans-serif" Dominic Subject: Re: font-family="Arial Unicode MS" in rtf doesn't work From: Jeremias Maerki <[EMAIL PROTECTED]> Date: Mon, 05 Feb 2007 23:03:04 +0100 To: fop-users@xmlgraphics.apache.org To: fop-users@xmlgraphics.apache.org Try font-family="'Arial Unicode MS'" http://www.w3.org/TR/xsl11/#font-family says: "Font family names containing whitespace should be quoted." On 05.02.2007 22:36:32 Dominic Marcotte wrote: Hello, Font-family "Arial Unicode MS" in FO become "Arial" in RTF. Like if font-family can't have a space in their name. font-size="9.5pt">⇓ If I try with font-family "ArialUnicodeMS", I get "ArialUnicodeMS" in RTF but I Word or WordPad doesn't konw this font. I must change it manualy to "Arial Unicode MS". I use "FOP Trunk" revision 499827. Any suggestion? Dominic Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
font-family="Arial Unicode MS" in rtf doesn't work
Hello, Font-family "Arial Unicode MS" in FO become "Arial" in RTF. Like if font-family can't have a space in their name. font-size="9.5pt">⇓ If I try with font-family "ArialUnicodeMS", I get "ArialUnicodeMS" in RTF but I Word or WordPad doesn't konw this font. I must change it manualy to "Arial Unicode MS". I use "FOP Trunk" revision 499827. Any suggestion? Dominic - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]