You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/12/25 14:24:24 UTC

[Issue 126753] New: Invalid parse of GSUB of OpenType font

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: issues@openoffice.apache.org
          Reporter: hanya.runo@gmail.com

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.

[Issue 126753] Invalid parse of GSUB of OpenType font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126753

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mseidel@apache.org

--- Comment #3 from Matthias Seidel <ms...@apache.org> ---
Cherry-picked for AOO41X with:
https://github.com/apache/openoffice/commit/d61abae7b9c5f1d9d7773fdd3990a1027142cff0

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

[Issue 126753] Invalid parse of GSUB of OpenType font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126753

hanya <ha...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from hanya <ha...@gmail.com> ---
Fixed on revision 1721674.

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

[Issue 126753] Invalid parse of GSUB of OpenType font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126753

--- Comment #1 from hanya <ha...@gmail.com> ---
Created attachment 85221
  --> https://bz.apache.org/ooo/attachment.cgi?id=85221&action=edit
Patch to fix invalid read of GSUB tables of OpenType fonts

See the report description.

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

[Issue 126753] Invalid parse of GSUB of OpenType font

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=126753

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |4.1.15

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