xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: Fop 1.0: resolving relative Font URLs
Date Wed, 13 Apr 2011 14:54:48 GMT
Hi Ulrich,

I have no solution, only questions:

 - Are the 2 FOP versions run on the same host?
 - What OS do you experiment?
 - Have you tried direct access to "/path/to/fonts" + "/" + "myfont.ttf"
 (either with ls or dir) ?
 - Does FOP 1.0 load the right fop.xconf file, if any?


Le 13/04/2011 16:29, Ulrich Mayring a écrit :
> I have tried both suggestions, using a file-url and appending a slash, but to
> no avail.
> 
> Please keep in mind that this is a regression, i. e. not I am doing
> something wrong, but something changed from fop 0.95 to fop 1.0. Take
> another look at the error message:
> 
> Failed to resolve font with embed-url 'Dingbats.ttf'
> 
> The problem is not the font-base directory, but the embed-url itself, which
> apparently does not work in a relative fashion anymore. Indeed, if I specify
> an absolute path in the embed-url, then the font is found.
> 
> Ulrich

--
Pascal

---------------------------------------------------------------------
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