[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Unable to print the character

Subject: Re: Unable to print the character
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 07 Feb 2009 09:23:35 -0500
Re:  Unable to print the character
At 2009-02-07 09:55 +0530, Ganesh Babu N wrote:
I am unable to print &#x107; 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 &#8211; Serbia's
Antibureaucratic Revolution: Milo&#353;evic, the Fall of Communism and
Nationalist Mobilization, N. Vladisavljevi&#x107;</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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.