Skip to content

Commit 86145b7

Browse files
authored
Merge pull request #34 from jenskutilek/ttf-instructions-maxp
Fix maxp extraction for non-TTF
2 parents 55d4961 + 784b6d0 commit 86145b7

File tree

849 files changed

+341457
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

849 files changed

+341457
-0
lines changed

Lib/extractor/formats/opentype.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ def extractGlyphOrder(source, destination):
6262

6363

6464
def extractInstructions(source, destination):
65+
if "glyf" not in source:
66+
return
67+
6568
lib = destination.lib["public.truetype.instructions"] = {
6669
"formatVersion": 1,
6770
"maxFunctionDefs": 0,
112 KB
Binary file not shown.

0 commit comments

Comments
 (0)