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: [email protected]
ReportedBy: [email protected]
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.