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

COLR: incorporate revised semantics for sweep gradients to align with CSS #950

Closed
PeterCon opened this issue Jun 28, 2022 · 2 comments
Closed
Assignees

Comments

@PeterCon
Copy link
Collaborator

In discussion with Google, it was found that the spec for sweep gradients was potentially confusing because of ways in which it diverged from the way sweep gradients are expressed in CSS and also in Skia. This was due to misunderstanding of the (unfortunately vague) Skia spec when COLR v1 formats were being defined. To minimize confusion, and since implementations for COLR v1 are still very early in their development, Microsoft and Google agreed to make a breaking change in the semantics for representation of sweep gradients.

Note: The formats for representing sweep gradients (PaintSweepGradient, PaintVarSweepGradient) do not need to change. The only change is to how member values are interpreted.

The draft changes from googlefonts/colr-gradients-spec#362 need to be incorporated into OT 1.9.1.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@PeterCon PeterCon added this to the OpenType 1.9.1 milestone Jun 28, 2022
@PeterCon PeterCon self-assigned this Jun 28, 2022
@PeterCon
Copy link
Collaborator Author

See the OT 1.9.1 alpha for draft revisions addressing this issue.

@PeterCon
Copy link
Collaborator Author

This is fixed in OT 1.9.1. See the OT 1.9.1 beta for draft revisions addressing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant