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 for variable fonts #38

Merged
merged 14 commits into from
Jul 9, 2024
Merged

Support for variable fonts #38

merged 14 commits into from
Jul 9, 2024

Conversation

wezm
Copy link
Contributor

@wezm wezm commented Nov 16, 2023

This PR adds two new sub-commands related to variable fonts:

  1. instance for creating a non-variable instance of a variable font
  2. variations for listing variation information about a variable font such as axes and pre-defined instances.

Additionally support for CFF2 is added. The svg sub-command used by the unicode-text-rendering tests was also updated to support variable fonts and CFF2.

@wezm wezm changed the title Support for variable fonts support Support for variable fonts Nov 16, 2023
@wezm wezm force-pushed the wezm/variable-fonts branch from b72ed47 to 3197942 Compare April 23, 2024 03:35
@wezm wezm force-pushed the wezm/variable-fonts branch from 2123c35 to 8b298c8 Compare June 6, 2024 00:41
@wezm wezm mentioned this pull request Jun 6, 2024
@wezm wezm marked this pull request as ready for review June 6, 2024 05:06
wezm added 13 commits June 6, 2024 15:08
For printing information about variable fonts.
This sub-command can create a static instance from a variable font.
This allows us to test against the variable fonts tests in the Unicode
text-rendering-tests.
Also support passing variation tuples to other commands that call shape.
These changes allow us to pass the variable CFF2 test in the Unicode
text-rendering-tests.
@wezm wezm force-pushed the wezm/variable-fonts branch from eaf2fbc to f6a0aa7 Compare June 6, 2024 05:08
@wezm wezm merged commit 03d72e5 into master Jul 9, 2024
2 checks passed
@wezm wezm deleted the wezm/variable-fonts branch July 9, 2024 00:56
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.

1 participant