xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EXT / FOCAL VANDEPUTTE Brice" <ext.focal.vandepu...@sncf.fr>
Subject RE : RE : [fop-users] [sigma] print greek sigma character on fop 0.20.5
Date Tue, 29 Nov 2005 18:07:38 GMT
Wonderful ! :o)

1- You're right i miss-read the previous post of Andreas and so my previous answer was wrong.
2- I was testing this when I receive your post :
Sigma = "<fo:block font-family=\"Symbol\">&#83;</fo:block>"; // Print '#'

3- Your script is the good one !! :
Sigma = "<fo:inline font-family=\"Symbol\">&#x03A3;</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">&#x03A3;</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

View raw message