Hi all,
this is a new problem with fop 1.0, it does not occur in fop 0.95.
In my application I am setting the base font directory programmatically like
so:
fopFactory.setFontBaseURL("/my/font/dir");
And then I have entries like this in my fop.xconf:
<font kerning="yes" embed-url="myfont.ttf"> ... </font>
This works perfectly in Fop 0.95 and earlier versions, but in Fop 1.0 it
throws an exception:
org.apache.fop.apps.FOPException: Failed to resolve font with embed-url
'myfont.ttf'
at org.apache.fop.util.LogUtil.handleError(LogUtil.java:38)
at
org.apache.fop.fonts.FontInfoConfigurator.getFontInfo(FontInfoConfigurator.java:212)
at
org.apache.fop.fonts.FontInfoConfigurator.addFonts(FontInfoConfigurator.java:168)
at
org.apache.fop.fonts.FontInfoConfigurator.configure(FontInfoConfigurator.java:100)
at
org.apache.fop.render.PrintRendererConfigurator.buildFontList(PrintRendererConfigurator.java:106)
The release notes do say that changes with respect to font substitution have
taken place, but I believe an incompatibility like this should explicitly be
mentioned. Any ideas for a workaround?
Ulrich
--
View this message in context:
http://old.nabble.com/Fop-1.0%3A-resolving-relative-Font-URLs-tp31386824p31386824.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]