https://bz.apache.org/ooo/show_bug.cgi?id=126753

          Issue ID: 126753
        Issue Type: DEFECT
           Summary: Invalid parse of GSUB of OpenType font
           Product: General
           Version: 4.1.2
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 85220
  --> https://bz.apache.org/ooo/attachment.cgi?id=85220&action=edit
Picture with wrong punctuation glyphs

In Japanese vertical text writting on Writer document, 
some glyphs are not replaced for vertical writting by GSUB table even with
OpenType font having GSUB table.
This is because the parse of the GSUB table in the font is invalid.
In FreetypeServerFont::ApplyGSUB function, FeatureParams entry have to be
ignored 
while reading feature table. nCntLookups is wrong without the skipping.

In the attached picture, 
- left: AOO 4.1.2, 1st and 4th lines contains wrong punctuation glyphs
- right: with fix, 4th line has been fixed. But 1st line is still the same
because Ume Plus is truetype font and not GSUB provided.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to