xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mehdi houshmand <med1...@gmail.com>
Subject Re: Fop 1.0: resolving relative Font URLs
Date Thu, 14 Apr 2011 08:24:01 GMT
Hi Ulrich,

Sorry for the late reply, but "/my/font/path" isn't a reference to a
relative path. That's an absolute path. If the absolute path of your
font were /my/font/path/myfont.ttf, then your config is correct, and
you are right in issuing a bug. But if your font is located at
<directory of fop.xconf>/my/font/path/myfont.ttf, then you need to
remove the prefixed "/". I think this may be the issue here, I
remember a commit about changing the relative directory to be relative
to the fop.xconf rather than the fop.jar.

Also, strictly speaking the proper format of a file URI in Unix based
systems is  "file:///" not "file:/", though IIRC FOP treats them both
the same anyway.

I may have completely got the wrong end of the stick here, if so, my apologies.

Mehdi

On 14 April 2011 08:39, Ulrich Mayring <ulim@denic.de> wrote:
>
>
> Terence M. Bandoian wrote:
>>
>> Hi, Ulrich-
>>
>> That matches my experience with 1.0.  Setting font-base works with
>> metric-url but I've used absolute paths for embed-url.
>>
> So then it appears to be a bug. I'll report it.
>
> Ulrich
> --
> View this message in context: http://old.nabble.com/Fop-1.0%3A-resolving-relative-Font-URLs-tp31386824p31394545.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

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