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

update colorLib to latest COLRv1 draft #2092

Merged
merged 27 commits into from
Nov 11, 2020
Merged

update colorLib to latest COLRv1 draft #2092

merged 27 commits into from
Nov 11, 2020

Conversation

anthrotype
Copy link
Member

This syncs otData and colorLib implementation with the latest COLRv1 draft spec.

  • each layers in LayerV1List is now DAGs of Paints
  • added four new Paint formats: PaintGlyph, PaintColorGlyph, PaintTransform and PaintComposite
  • PaintRadialGradient no longer has Affine2x2 field, but can optionally be wrapped by an Affine2x3 (like other Paints)

continue building all glyphs, accummulate errors and only stop at the end

fixup
@rsheeter
Copy link
Collaborator

Generally lgtm, couple of nits plus shoudl rename PaintColrGlyph => PaintColrSlice

Lib/fontTools/colorLib/builder.py Outdated Show resolved Hide resolved
Lib/fontTools/colorLib/builder.py Outdated Show resolved Hide resolved
Lib/fontTools/colorLib/builder.py Outdated Show resolved Hide resolved
Lib/fontTools/colorLib/builder.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants