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 2009/09/18 18:23:33 UTC
DO NOT REPLY [Bug 47872] New: MalformedURLException while using
FontLoader#loadFont(File, ...)
https://issues.apache.org/bugzilla/show_bug.cgi?id=47872
Summary: MalformedURLException while using
FontLoader#loadFont(File, ...)
Product: Fop
Version: 1.0dev
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: fonts
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: alexanderkiel@gmx.net
Created an attachment (id=24294)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24294)
Failing test.
The attached test fails with a MalformedURLException: no protocol:
/home/akiel/coding/libs/fop-trunk/test/resources/fonts/DejaVuLGCSerif.ttf.
The problem is in line 90 of FontLoader:
return loadFont(fontFile.getAbsolutePath(), subFontName,
where the getAbsulutePath() isn't an URI.
I markt this bug as minor, because the loadFont(File, ...) method isn't used in
FOP. It will be properly ok to remove it.
--
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 47872] MalformedURLException while using
FontLoader#loadFont(File, ...)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47872
Glenn Adams <gl...@skynav.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Glenn Adams <gl...@skynav.com> 2012-04-01 06:58:00 UTC ---
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed
--
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 47872] MalformedURLException while using
FontLoader#loadFont(File, ...)
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47872
Max Berger <ma...@berger.name> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Max Berger <ma...@berger.name> 2009-09-24 03:19:03 PDT ---
http://svn.apache.org/viewvc?rev=818424&view=rev
Applied, fixed, thanks!
BTW: Having non-working functions is always bad, even if they are unused.
Unused functions could be deprecated (or removed if they are non-public), if
they are really not used anymore.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.