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 bu...@apache.org on 2011/04/14 09:46:44 UTC

DO NOT REPLY [Bug 51060] New: font configuration: embed-url tag does not support relative paths anymore

https://issues.apache.org/bugzilla/show_bug.cgi?id=51060

           Summary: font configuration: embed-url tag does not support
                    relative paths anymore
           Product: Fop
           Version: 1.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: general
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: ulim@denic.de


In fop.xconf it is possible to have font configurations like this:

<font-base>file:/my/font/path</font-base>

<font kerning="yes" embed-url="myfont.ttf"> ... </font>

This works perfectly in Fop 0.95 and earlier versions, but in Fop 1.0 it throws
an exception:

org.apache.fop.apps.FOPException: Failed to resolve font with embed-url
'myfont.ttf'
        at org.apache.fop.util.LogUtil.handleError(LogUtil.java:38)
        at
org.apache.fop.fonts.FontInfoConfigurator.getFontInfo(FontInfoConfigurator.java:212)
        at
org.apache.fop.fonts.FontInfoConfigurator.addFonts(FontInfoConfigurator.java:168)
        at
org.apache.fop.fonts.FontInfoConfigurator.configure(FontInfoConfigurator.java:100)
        at
org.apache.fop.render.PrintRendererConfigurator.buildFontList(PrintRendererConfigurator.java:106)

Notes:
- using absolute paths in the embed-url attribute still works.
- setting the font base attribute programmatically leads to the same problem.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51060] font configuration: embed-url tag does not support relative paths anymore

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51060

--- Comment #2 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:41:55 UTC ---
resetting P2 open bugs to P3 pending further review

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 51060] font configuration: embed-url tag does not support relative paths anymore

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51060

--- Comment #5 from Ulrich Mayring <ul...@denic.de> ---
I don't remember how I got this error last year. At this point I cannot
reproduce it anymore. Thanks for looking at it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 51060] font configuration: embed-url tag does not support relative paths anymore

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51060

--- Comment #4 from Glenn Adams <ga...@apache.org> 2012-04-24 05:25:24 UTC ---
(In reply to comment #3)
> please provide (1) a full copy of the FOP configuration producing the problem,
> and (2) full console output when encountering the problem;

Ulrich, I am still awaiting your input as requested above. if I see no further
input by April 30, I will close this bug due to lack of requested information.
Regards, Glenn

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51060] font configuration: embed-url tag does not support relative paths anymore

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51060

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

[Bug 51060] font configuration: embed-url tag does not support relative paths anymore

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51060

Glenn Adams <ga...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #6 from Glenn Adams <ga...@apache.org> ---
per comment 5, not reproducible

-- 
You are receiving this mail because:
You are the assignee for the bug.

DO NOT REPLY [Bug 51060] font configuration: embed-url tag does not support relative paths anymore

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51060

Glenn Adams <gl...@skynav.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #3 from Glenn Adams <gl...@skynav.com> 2012-04-08 09:18:42 UTC ---
please provide (1) a full copy of the FOP configuration producing the problem,
and (2) full console output when encountering the problem;

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

DO NOT REPLY [Bug 51060] font configuration: embed-url tag does not support relative paths anymore

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51060

--- Comment #1 from Ulrich Mayring <ul...@denic.de> 2011-04-14 03:48:00 EDT ---
See the following thread in fop-users:

http://old.nabble.com/Fop-1.0%3A-resolving-relative-Font-URLs-td31386824.html#a31394545

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.