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

[New Slant Strategy] #114

Open
sannorozco opened this issue Feb 14, 2025 · 0 comments
Open

[New Slant Strategy] #114

sannorozco opened this issue Feb 14, 2025 · 0 comments
Assignees

Comments

@sannorozco
Copy link
Collaborator

Hello everyone,

In the making of the new slant, we found this strategy could work better. We duplicate all glyphs and .ital at the end, then triggered on the Slant axis, on this example from 6–13 range value. This strategy makes easier the internal math and result in the outlines instead of directly slanting the outlines (image 1). It also reduces considerably the file size.

Here’s the file size comparison with this way of doing it.

Without glyphnames.ital composites:

  • —Each source has 1042 glyphs
  • —Resulting VF size 488 KB

With glyphnames.ital composites ASCII (current main branch):

  • —Each source has 1141 glyphs
  • Resulting VF size 519 KB
  • —Better shapes (Image 2, Image, 3, Image 4, Image 5)

With glyphnames.ital composites full repertoire:

  • —Each source has 1427 glyphs
  • Resulting VF size 602 KB

Overall VF file size difference of 114 KB.

Please let me know if you have any question.

Cheers!

Image 1

Image

Image 2

Image

Image 3

Image

Image 4

Image

Image 5

Image
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

3 participants