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 "Cerny, Robert" <ro...@csfps.de> on 2002/07/22 16:32:55 UTC

fop 0.20.3 -> fop 0.20.4 : font problem

Hello everbody,

after migrating from fop 0.20.3 to fop 0.20.4, i have problems integrating user defined fonts.

it all peaks in:

[ERROR] Failed to read font metrics file <correctpathToFontFile>/AkzidenzGroteskCE-Bold.xml : null

the path is correct and everything works fine under 0.20.3.

searching the archive i found a threading issue, but this was concerning an earlier release.
http://marc.theaimsgroup.com/?l=fop-user&m=102005683508667&w=2

any ideas?

thank you in advance,
Robert Cerny
Software Entwicklung

Credit Suisse Financial Planning Solutions
Wilh.-Th.-Römheld-Str. 32
55130 Mainz

Fon 	+49 6131/ 7321-143

E-Mail: robert.cerny@csfps.de 

Re: fop 0.20.3 -> fop 0.20.4 : font problem

Posted by Oleg Tkachenko <ol...@multiconn.com>.
Cerny, Robert wrote:

> after migrating from fop 0.20.3 to fop 0.20.4, i have problems integrating user defined fonts.
> 
> it all peaks in:
> 
> [ERROR] Failed to read font metrics file <correctpathToFontFile>/AkzidenzGroteskCE-Bold.xml : null
> 
> the path is correct and everything works fine under 0.20.3.
> 
> searching the archive i found a threading issue, but this was concerning an earlier release.
> http://marc.theaimsgroup.com/?l=fop-user&m=102005683508667&w=2
> 
> any ideas?

It could be some baseDir related issue, in fop 0.20.4 relative font-metric 
urls are resolved relatively to baseDir property. Another idea - chances are 
you are using some other xml parser instead of xerces, and it refuses to parse 
xml document at file-name-like URI, what is actually right, see 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10287

-- 
Oleg Tkachenko
Multiconn International, Israel