-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[__main__] Don't try to convert a VariableFontFace to a NormalFontFac…
…e twice Move the conversion of variable font to ttc font in the same loop as where we request font to FontCollection This allow the converted font (.ttc file) to be added into the FontCollection, so it doesn't collect the VariableFontFace twice. First, it collects the VariableFontFace that we convert to a NormalFontFace, so when we request the same variable font twice, it won't try to convert it to a ttc file twice.
- Loading branch information
Showing
1 changed file
with
13 additions
and
17 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