You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Ji...@orcz.cz on 2002/09/12 10:11:15 UTC

Localized fonts without userconfig.xml ?

1. Is it possible to use localized TTF fonts (courier, helvetica, times
...) without userconfig.xml (pointing to TTF and to metrics files) ?

In fop.jar (\org\apache\fop\render\pdf\fots) there are some classes  like
Courier, CourierBold, ... , but no source code for these files. Is there
the metrics information in these files ?

2. How is it possible that AWT preview shows me all national characters
well , but PDF not (both without userconfig.xml ) ?

Thanks.



Re: Localized fonts without userconfig.xml ?

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Jiri_Nejedly@orcz.cz wrote:
> 1. Is it possible to use localized TTF fonts (courier, helvetica, times
> ...) without userconfig.xml (pointing to TTF and to metrics files) ?

Possible: yes. Easy: definitely not.
>
> In fop.jar (\org\apache\fop\render\pdf\fots) there are some classes  like
> Courier, CourierBold, ... , but no source code for these files. Is there
> the metrics information in these files ?
>
Yes.

> 2. How is it possible that AWT preview shows me all national characters
> well , but PDF not (both without userconfig.xml ) ?

AWT uses fonts installed with Java, perhaps inherited form
the general environment, while PDF uses PDF specific settings.

J.Pietschmann