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: med1...@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.

Reply via email to