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 2012/11/08 18:49:35 UTC
[Bug 54120] New: AWT font creating an NPE when an SVG font isn't
found for AFP output
https://issues.apache.org/bugzilla/show_bug.cgi?id=54120
Priority: P2
Bug ID: 54120
Assignee: fop-dev@xmlgraphics.apache.org
Summary: AWT font creating an NPE when an SVG font isn't found
for AFP output
Severity: normal
Classification: Unclassified
OS: Linux
Reporter: med1985@gmail.com
Hardware: PC
Status: NEW
Version: trunk
Component: fonts
Product: Fop
Created attachment 29572
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29572&action=edit
The fop conf
The problem is that the font FOP is looking for a font called "sans-serif" and
Batik has the font "SansSerif". This mismatch means that when FOP asks for
"sans-serif", a "null" is returned, which then causes an NPE.
While this doesn't fix the underlying issue; the disparity between "sans-serif"
in FOP and "SansSerif" in Batik, either way, an NPE isn't acceptable behaviour.
I've attached the relevant fop conf where you can see the triplet name
"sans-serif" being assigned to Helvetica. I'll attach an FO when I reduce it
down to its simplest form
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 54120] AWT font creating an NPE when an SVG font isn't found
for AFP output
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54120
Mehdi Houshmand <me...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Mehdi Houshmand <me...@gmail.com> ---
Committed revision 1407393.
--
You are receiving this mail because:
You are the assignee for the bug.