caryll/otfcc

Phase 3, CFF

be5invis opened this issue · 6 comments

In this phase, otfcc will be able to read and write CFF outlines.

The CFF table data will be separated into two records:

  • The existing glyf for curves;
  • A new record CFF_ for metadata.
    • CFF Parser
      • Metadata
      • Outline & Metrics
      • Hints
      • CID
    • CFF Writer
      • Metadata
      • Outline & Metrics
      • Hints
      • CID
    • JSON format integration

Mostly done.

Good job! 👍

@anthrotype It still need optimizations, see #16.
For example, @kenlunde’s SHS increased about 4MB after a dump-build cycle.

not sure it's relevant here, but have you had a look at compreffor?

@anthrotype What does this library manipulate, entire SFNT or only CFF table?
otfcc is written in C, therefore I need to convert their interface.

ps. @anthrotype I think we can move the discussions to #16.