You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Alexandr Kara (JIRA)" <ji...@apache.org> on 2015/05/18 08:15:59 UTC

[jira] [Created] (FOP-2471) Relative paths in font-base don't work

Alexandr Kara created FOP-2471:
----------------------------------

             Summary: Relative paths in font-base don't work
                 Key: FOP-2471
                 URL: https://issues.apache.org/jira/browse/FOP-2471
             Project: Fop
          Issue Type: Bug
          Components: font/unqualified
    Affects Versions: 1.1
         Environment: Linux (Fedora 21)
            Reporter: Alexandr Kara
            Priority: Minor
             Fix For: 1.0


There is an inconsistency in how <font-base> is handled in the config file - and it's a regression compared to version 1.0. Before (in 1.0 and earlier), relative paths used to work, now they only work if prefixed with "file:".

What works:
<font-base>/full/path</font-base>
<font-base>file:relative/path</font-base> (e.g. "file:.")

What doesn't work:
<font-base>relative/path</font-base> (e.g.: <font-base>.</font-base>)

It's a minor problem because there is an easy workaround (adding "font:") but breaks existing setups...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)