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 "Glenn Adams (JIRA)" <ji...@apache.org> on 2016/01/22 17:38:39 UTC

[jira] [Closed] (FOP-2396) font tag attribute embed-url is expecting absoulte-URL

     [ https://issues.apache.org/jira/browse/FOP-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glenn Adams closed FOP-2396.
----------------------------
    Resolution: Invalid

Please discuss usage issues on fop-users@xmlgraphics.apache.org. This is not a bug or a feature request.


> font tag attribute embed-url is expecting absoulte-URL
> ------------------------------------------------------
>
>                 Key: FOP-2396
>                 URL: https://issues.apache.org/jira/browse/FOP-2396
>             Project: FOP
>          Issue Type: Bug
>            Reporter: ramakanthreddy
>
> Hi,
> I have specified the font tag as below:
>  <font  kerning="yes" embed-url="fonts/arial.ttf">
>     <font-triplet name="Arial" style="normal" weight="normal"/>
>     <font-triplet name="ArialMT" style="normal" weight="normal"/>
>  </font>
> but the code is expecting absoulte-URL.throws error as below when specify the relative path
> org.apache.fop.apps.FOPException: Failed to resolve font with embed-url 'fonts/arial.ttf'
> 	at org.apache.fop.util.LogUtil.handleError(LogUtil.java:42)
> 	at org.apache.fop.fonts.FontInfoConfigurator.getFontInfo(FontInfoConfigurator.java:210)



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