----- Original Message -----
From: "patrick andries" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 5:08 PM
Subject: Re: Unicode problem ?


>
> ----- 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.

Yes your are right,i should take close look at the unicode table.

Thers written:
20A4 LIRA SIGN· Italy, Turkey→ 00A3 pound sign




>
> > </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
> (see
> > dummy xml file above)
> >
> >
> >
> > But i dont get it to work , the resulting pdf alwys displays the #
> character
> > 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,
> because
> > 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.

Thank your very much u saved my day :-).
Now i can went home and relax :-)

Bye,

Holger :-)




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

Reply via email to