You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by EXT / FOCAL VANDEPUTTE Brice <ex...@sncf.fr> on 2005/11/29 19:07:38 UTC
RE : RE : [fop-users] [sigma] print greek sigma character on fop 0.20.5
Wonderful ! :o)
1- You're right i miss-read the previous post of Andreas and so my previous answer was wrong. Sorry.
2- I was testing this when I receive your post :
Sigma = "<fo:block font-family=\"Symbol\">S</fo:block>"; // Print '#'
3- Your script is the good one !! :
Sigma = "<fo:inline font-family=\"Symbol\">Σ</fo:inline>";
Thanks a lot
Brice Vandeputte
-----Message d'origine-----
De : William Gilbert [mailto:gilbert@informagen.com]
Envoyé : mardi 29 novembre 2005 18:59
À : fop-users@xmlgraphics.apache.org
Objet : Re: RE : [fop-users] [sigma] print greek sigma character on fop 0.20.5
>> I would like to print a sigma character on my generated PDF
>>
>> I use FOP version 0.20.5 and I can't change this version.
>
> The Numeric Character References should work, provided the font
> you're using has a glyph for the desired character... (# means that
> the used font doesn't have a glyph for sigma)
>
Try this.....
A "greek character" indeed has a unicode value but only the "Symbol"
font has a "glyph" for that unicode character. A glyph is the way a
character is drawn on the screen or on paper.
<fo:inline font-family="Symbol">Σ</fo:inline>
Now, encoding these in your incoming XML is another trick entirely!!
One which I have not entirely mastered but have been successful with.
--will gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org