xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremias Maerki <...@jeremias-maerki.ch>
Subject Re: cannot load font problem
Date Mon, 06 Nov 2006 14:01:30 GMT
The relative URI "conf\minion.xml" could not be resolved to an absolute
URL or resource. Most probably you didn't set a base URL on the user
agent (or font base URL on the FopFactory or the respective values in
the configuration). Or the base URL is wrong.

See http://xmlgraphics.apache.org/fop/latest/embedding.html#fop-factory
and http://xmlgraphics.apache.org/fop/latest/configuration.html

On 06.11.2006 00:09:28 Oliver Müller wrote:
> Hi folks,
> 
> I'm getting the following exeption if I try to use the Font "Minion"
> within my XSL-Stylesheet:
> 
> java.lang.RuntimeException: Cannot load font: failed to create Source
> from metrics file conf\minion.xml
>         at org.apache.fop.fonts.LazyFont.load(LazyFont.java:75)
>         at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:183)
>         at org.apache.fop.fonts.Font.getAscender(Font.java:66)
>         at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:76)
> 
> ... and so on ...
> 
> I have created a correct metrics file using org.apache.fop.fonts.apps.PFMReader
> 
> Does anyone have an idea why this is happening ?
> 
> thanks for your help,
> Olli



Jeremias Maerki


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


Mime
View raw message