https://issues.apache.org/bugzilla/show_bug.cgi?id=45734

           Summary: regression: "descender" sign inverted in font metrics
                    for PFM (distorted line spacing for fo:inline)
           Product: Fop
           Version: 0.95
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: fonts
        AssignedTo: fop-dev@xmlgraphics.apache.org
        ReportedBy: [EMAIL PROTECTED]


Created an attachment (id=22520)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22520)
Patch for PFMReader

When we switched to FOP 0.95 and re-ran PFMReader on our .pfm files, the line
spacing suddenly became distorted on lines that contained fo:inline tags that
used a different font-family.

It turned out that the font metrics produced by FOP 0.95 have an inverted sign
for the descender value. When inverting it again (i.e. remove the minus sign in
the font metrics xml), all was well again.

It seems that this is due to changes to PFMFile in r56078 for bug#43089. Our
fix was to invert the sign in PFMReader on producing the metrics file, since
the sign inversion in PFMFile seems to be needed.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to