[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
At 2009-02-07 09:55 +0530, Ganesh Babu N wrote:
You have a character set problem. I've run your block through three formatters and I didn't get consistent results until I changed the font family to "Times New Roman", which is a font on Windows that supports U+0107.
It appears the built-in Times and Helvetica font for PDF does not include U+0107; and you'll have to deal with embedding a font of your choice that does have the required characters.
Looking at:
http://partners.adobe.com/public/developer/en/pdf/PDFReference.pdf
... I note that Latin 1 characters are supported by default, but not Latin 2. The character you want, U+0107, is in Latin 2 but not Latin 1:
I hope this helps.
. . . . . . . . . . . . . . Ken
Re: [xsl] Unable to print the character
Subject: Re: [xsl] Unable to print the character From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 07 Feb 2009 09:23:35 -0500 |
At 2009-02-07 09:55 +0530, Ganesh Babu N wrote:
I am unable to print ć in the PDF output. I am getting an "#" symbol instead. The following is the fo:block which is generating the PDF output.
<fo:block font-size="8pt" font-family="Helvetica, Times" text-align="center">10.1057/9780230227798 – Serbia's Antibureaucratic Revolution: Miloševic, the Fall of Communism and Nationalist Mobilization, N. Vladisavljević</fo:block>
I am using FOP 0.95.
You have a character set problem. I've run your block through three formatters and I didn't get consistent results until I changed the font family to "Times New Roman", which is a font on Windows that supports U+0107.
It appears the built-in Times and Helvetica font for PDF does not include U+0107; and you'll have to deal with embedding a font of your choice that does have the required characters.
Looking at:
http://partners.adobe.com/public/developer/en/pdf/PDFReference.pdf
... I note that Latin 1 characters are supported by default, but not Latin 2. The character you want, U+0107, is in Latin 2 but not Latin 1:
http://en.wikipedia.org/wiki/ISO_8859-1 http://en.wikipedia.org/wiki/ISO_8859-2
I hope this helps.
. . . . . . . . . . . . . . Ken
-- Upcoming hands-on XSLT, UBL & code list hands-on training classes: Brussels, BE 2009-03; Prague, CZ 2009-03, http://www.xmlprague.cz Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Unable to print the character, Ganesh Babu N | Thread | [xsl] Best approach for adding Java, Arthur Maloney |
Re: [xsl] following-sibling::, Andrew Welch | Date | [xsl] Best approach for adding Java, Arthur Maloney |
Month |
Keywords