Hi all

Still having trouble loading custom fonts - this time with a different approach.

This time I'm running FOP instance with the following xml config:

<?xml version="1.0"?>
<fop version="1.0">
  <default-page-settings height="297mm" width="210mm"/>
    <renderer mime="application/pdf">
        <directory recursive="true">fonts</directory>

When I start my app which uses FOP, the log displays the following error:

WARNING: Unable to load font file:
file:/Users/me/Projects/myproject/fonts/League_Gothic.ttf. Reason:

The path to the font is correct, the font exists and FontBook (I'm on
a mac) can read the font without issue (it's an open-source/free

Any ideas what the error might be this time?

Phillip B Oldham
+44 (0) 7525 01 09 01

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

Reply via email to