Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert uniXXXX glyph names to proper ones when building the charCodeToGlyphId map for TrueType fonts (bug 1132849, issue 6893, issue 6894) #7069

Merged
merged 1 commit into from
Mar 10, 2016

Commits on Mar 9, 2016

  1. Convert uniXXXX glyph names to proper ones when building the `charC…

    …odeToGlyphId` map for TrueType fonts (bug 1132849, issue 6893, issue 6894)
    
    This patch adds a `getUnicodeForGlyph` helper function, which is used to recover Unicode values for non-standard glyph names.
    
    Some PDF generators, e.g. Scribus PDF, use improper `uniXXXX` glyph names which breaks the glyph mapping. We can avoid this by converting them to "standard" glyph names instead.
    
    Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1132849.
    Fixes 6893.
    Fixes 6894.
    Snuffleupagus committed Mar 9, 2016
    Configuration menu
    Copy the full SHA
    dfe9015 View commit details
    Browse the repository at this point in the history