Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2396

font tag attribute embed-url is expecting absoulte-URL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ramakanth.konday ramakanthreddy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: