Hi Ryan,

Ryan Lortie wrote:
> On Sun, 2008-08-31 at 22:22 +0200, Andreas Delmelle wrote:
>> Not sure what the cause of the issue is (yet), but as for a final  
>> try, the following seems to produce desirable results:
>>
>> <fo:block font-family="serif, Symbol">
>>    (<fo:character character="&#x2191;"/>1) (+2) (<fo:character  
>> character="&#x2200;"/>3) (text)
>> </fo:block>
> 
> This is a fascinating discovery.  It's very strange that that works
> properly.
> 
> In any case, I can probably write an XSLT template to scan all text
> regions for 'special' characters and emit markup like that for them.
> That's a sufficient workaround for my tastes.

If using a non-Base14 font is an option for you, then you may be able to
avoid that hassle. For instance, your example rendered fine with the
DejaVu Sans font:
    <fo:block font-family="DejaVuSans">(↑1) (+2) (↑3) (+4)
      (↑5)</fo:block>
If all of the glyphs come from the same font then the baseline handling
should be more consistent.
Have a look here to know how to configure fonts:
http://xmlgraphics.apache.org/fop/0.95/fonts.html

HTH,
Vincent

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

Reply via email to