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 glyph path fill rule (non-zero winding / even-odd crossing / etc) #315

Open
Azmisov opened this issue Jul 3, 2023 · 0 comments
Open

Comments

@Azmisov
Copy link

Azmisov commented Jul 3, 2023

The following references 1, 2, 3, 4 indicate that:

  • Postscript fonts >= 2.0 use even-odd, < 2.0 use non-zero
  • TTF fonts use non-zero
  • SVG fonts use the fill rule specified for the path

This library doesn't support SVG outlines, so no problem there I think. The Postscript version (e.g. did outline come from CFF or CFF2 table) could be exposed though. Seems like a simple change.

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

No branches or pull requests

1 participant