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

Support sanitizing COLR and CPAL #202

Closed
svgeesus opened this issue Jan 24, 2020 · 3 comments
Closed

Support sanitizing COLR and CPAL #202

svgeesus opened this issue Jan 24, 2020 · 3 comments

Comments

@svgeesus
Copy link

Because OTS does not support COLR or CPAL then those tables are dropped by OTS. It would therefore be a useful enhancement to support those, so that color fonts can be used safely.

@khaledhosny
Copy link
Owner

khaledhosny commented Jan 24, 2020

While this would be nice, I don’t think lack of support in OTS is blocking the use of these tables on the web. Both Firefox and Chrome support use of these tables in web fonts e.g. check this page in either browser https://www.amirifont.org/fatiha-colored.html, which suggests they bypass OTS for these tables, so support in OTS wouldn't change much in practice.

@svgeesus
Copy link
Author

@khaledhosny thanks for the quick response! I agree that they are bypassing OTS for those tables, so on the one hand the color fonts still work (non-blocking) but on the other hand any problems in the TrueType outlines in COLR will not be caught (sub-optimal).

I wasn't trying to blame OTS for the at-risk status, just filing this while I remembered.

@jfkthame
Copy link
Collaborator

This was just implemented in #247.

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

3 participants