Priority: P2
            Bug ID: 54120
           Summary: AWT font creating an NPE when an SVG font isn't found
                    for AFP output
          Severity: normal
    Classification: Unclassified
                OS: Linux
          Hardware: PC
            Status: NEW
           Version: trunk
         Component: fonts
           Product: Fop

Created attachment 29572
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