[ 
https://issues.apache.org/jira/browse/FOP-2396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14069971#comment-14069971
 ] 

Luis Bernardo commented on FOP-2396:
------------------------------------

please check your font base entry in the configuration file since this is most 
likely a misconfiguration issue than a bug. nowhere in the message above says 
that it expects an absolute URL even though it may (and should) work if you 
provide one. if that doesn't fix the problem please provide the configuration 
file.

> 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.2#6252)

Reply via email to