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

Add new Opentype STAT table #96

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 17, 2017

  1. Add new Opentype STAT table

    New file `src/tables/STAT.js` will decode/encode Opentype STAT table data.
    The undocumented struct version 0x00010000 is handled as example font files
    included this version number.  This new table type is added to those
    mentioned in `src/tables/index.js`.
    
    The test file executes using sample STAT tables from four different
    open-licensed font files.  Both input binary data and expected results
    are included for each sample.  Each sample is slightly different and
    exercises variations on the STAT table format.  Only the AxisValue
    format 3 is not tested by these samples.
    
    One additional open-licensed font file is included, Selawik-variable.ttf,
    as mentioned in the test file.  This font file demonstrates many of the
    latest Opentype variation table additions.  The test includes extracting
    a STAT table from this font file, exercising decoding by mainline code.
    
    The test file lastly tests encoding back to original binary data.
    tshinnic committed May 17, 2017
    Configuration menu
    Copy the full SHA
    39da343 View commit details
    Browse the repository at this point in the history