On 20/12/2010 16:19, Martin Sievers wrote:
Dear list members,
Hi Martin,
I've been looking at the FOP font mechanism for some days now, but still
don't have a clue what's going wrong. I want to create PDF documents and
use custom fonts, especially OpenType. Therefore I added a configuration
file according to the documentation.
FOP has only limited support for Open Type fonts. Specifically it cannot
deal with OTF Fonts that contain CFF glyphs. In my experience, most OTF
Fonts contain CFF glyphs. I suggest you attempt to add the font manually
rather than trying to auto detect it or adding whole directories. When
the Font is added explicitly you should receive more feedbak about why
FOP can't deal with the Font, e.g.
/home/martin/.fonts
/home/martin/.fonts
Unfortunately FOP still does not find any font other than the ones from
Base 14. I then created some metrics for the TrueType fonts and added
corresponding lines to the configurations, but no change.
Metrics Files are not required by FOP v1.0. In fact using them prevents
some newer features of FOP's font support, so we recommend that you
don't generate the metrics files.
"org.apache.fop.tools.fontlist.FontListMain" does not show any custom
font at all.
> From reading different statements on the web I couldn't get a solution
either. So, how can I use Opentype fonts with FOP 1.0? Is there any
(easy) way? Why does FOP not find my TrueType fonts installed?
Thank you for your responses.
Thanks,
Chris
Best regards
Martin Sievers
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org