Eric, can you provide a short FO snippet, please?

Pascal

Le 30/08/2010 17:36, Eric Douglas a écrit :
> Special font characters are broken in FOP 1.0.
> In 0.95 I referenced a unicode character which was not in my custom font and 
> got a message in my Java Console about glyph not found.
> I changed it to a unicode character which is in the font and I get that 
> character with 0.95.  That same code in 1.0 is producing a # and not getting 
> the glyph not found message.
>
>
> -----Original Message-----
> From: Pascal Sancho [mailto:[email protected]] 
> Sent: Monday, August 30, 2010 11:31 AM
> To: [email protected]
> Subject: Re: Special characters in AWT preview and PDF renderers
>
> Hi,
>
> '#' indicates that the glyph is not available in any font used by FOP.
> Note that SVG uses the fonts installed in the system, while FOP needs that 
> used fonts are set in config file (if you use a non standard font).
> So, you have to ensure that the fonts used in SVG are both declared in your 
> system AND in FOP config file.
>
> Pascal
>
> Le 16/08/2010 09:21, Antti Karanta a écrit :
>>                   Hi!
>>
>>    I have an SVG image with greek symbols, e.g.
>>
>> <text text-anchor="start" x="3.13063" y="1.56532" style="fill:#000000; 
>> font-family:Swiss,Helvetica,sans-serif; font-size: 4.69595" > HEEL φ 
>> </text>
>>
>>    This renders fine in FOP AWT preview, but as # in PDF.
>>
>>    The pdf is fine, too, if I change (in the SVG) the first line above to:
>>
>> <text text-anchor="start" x="3.13063" y="1.56532" style="fill:#000000;
>> font-size: 4.69595" >
>>
>>    i.e. remove the font references.
>>
>>
>>    I know the different renderers handle fonts differently, but this 
>> far I have been able to use os fonts in pdf by having
>>
>>        <fonts>
>>          <auto-detect/>
>>        </fonts>
>>
>>    in my fop.xconf
>>
>>    However, in this case it does not seem to help.
>>
>>
>>    Is there some other magic I need to do to make os fonts work ok 
>> inside svg? Or am I missing something else?
>>
>>
>>    Environment: fop 0.95 and 1.0, java 1.6.0_20, win xp sp 3
>>
>>
>>
>>
>>        ::Antti::
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>   
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>


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

Reply via email to