[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: RE : RE : [fop-users] [sigma] print greek sigma character on fop 0.20.5
From: "EXT / FOCAL VANDEPUTTE Brice" <ext.focal.vandeputte () sncf ! fr>
Date: 2005-11-29 18:07:38
Message-ID: F166F496D606D411B00D0060084E34D7D35D6B () s70lixkg037 ! cilv ! sncf ! fr
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic