xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Special characters in AWT preview and PDF renderers
Date Mon, 30 Aug 2010 15:31:18 GMT
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: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message