----- Original Message -----
From: "Holger Prause" <[EMAIL PROTECTED]>

> I want to use Unicode for displaying an pound character in my pdf.
> For this reason i created an dummy xml file
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <a>
>   <b>&#163;</b>
>   <c>&#x20A4;</c>

U+20A4...this is the Italian lira or the Turkish pound.

> </a>
> and an dummy xsl stylesheet
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <xsl:stylesheet version="1.0" xmlns:xhtml="http://www.w3.org/1999/xhtml";
>                xmlns:fo="http://www.w3.org/1999/XSL/Format";
>                xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

> Ok, now i browsed the unicode page , searched for the pound character and
> found it.

Well, maybe. U+00A3 is the British pound.

> http://www.unicode.org/charts/PDF/U20A0.pdf - it has the sequence 20A4
> dummy xml file above)
> But i dont get it to work , the resulting pdf alwys displays the #
> for unicode but for the sequence &#163;(which i have taken from a html
> reference) he displays
> the pound sign.What did i wrong ? (It cant be he wrong font i think,
> he can display pound signs at all).

These are two different glyphs, I suspect your font does not contain the
Turkish/Italian variant or -- I do not know the details of FOP here -- the
cmap (character to glyph mapping table) FOP implements for the default 14
fonts does not include a mapping between this Unicode number and a glyph
actually found in the font.

Tout Unicode en français
(noms des caractères, tout le texte normatif, annotations, etc.)

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

Reply via email to