Hi Andrew,
Since your question is very FOP specific, I’d suggest you to use the
fop-user@ mailing list [1] in the future.
With FOP 0.94 you no longer need to generate XML metrics files. You can
simply register your font like this:
<font kerning="yes" embed-url="path/to/MyFont.ttf">
<font-triplet name="MyFont" style="normal" weight="normal"/>
</font>
You can even rely on a more automatic (but sometimes less reliable)
detection mechanism by just specifying directories where to look up for
fonts:
<directory recursive="true">/path/to/font/directory/</directory>
See [2] for more details.
If you still have problems please post your config file on [EMAIL PROTECTED]
HTH,
Vincent
[1] http://xmlgraphics.apache.org/fop/maillist.html#fop-user
[2] http://xmlgraphics.apache.org/fop/0.94/fonts.html#register
Andrew Richardson wrote:
> Hi Docbook gurus
>
> I am experiencing an error when trying to compile my .fo files into pdf
> via FOP-0.94. I have configured the fonts (re-created the font metrics
> files with fop-0.94), registered them in the xconf file and receive this
> error when processing:
> "org.apache.fop.apps.FOPException: Font configuration without
> metric-url"
>
> I have also doubled checked each of the font locations and they are
> proven to be true to the location specified in the xconf file. The
> fonts registered are the same fonts which have been used to process the
> documents in version fop-0.20.5.
>
> Any help would be appreciated.
> Andrew
--
Vincent Hennebert Anyware Technologies
http://people.apache.org/~vhennebert http://www.anyware-tech.com
Apache FOP Committer FOP Development/Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]