-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
font-patcher: Ignore PPEM for non ttf/otf fonts
[why] When the source font does not have a HEAD table (i.e. is not a ttf/otf font but for example a sfd) we can not copy the PPEM and flag values. The patcher crashes. [how] Just put the code into a try block. We could check the signature instead, but this would add more and complex code. Signed-off-by: Fini Jastrow <[email protected]>
- Loading branch information
Showing
1 changed file
with
22 additions
and
14 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