-
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(shapers): Support named instances with FontConfig
FontConfig will use the upper bits of the face index for named instance index, and hb_font_create() handles this, but we were stripping these bits prematurely. Strip them before sending the index to libtextpdf instead. With named instances supported, saying \font[name=Foo, weight=700] of a variable font will set the correct variation coordinates for the named instance, instead of always using the default instance.
- Loading branch information
1 parent
8279a4e
commit 29119b9
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters