Skip to content

Commit

Permalink
Update opentype.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NightFurySL2001 committed Jul 26, 2023
1 parent 7396076 commit dd02bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/extractor/formats/opentype.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from extractor.exceptions import ExtractorError
from extractor.stream import InstructionStream
from extractor.tools import RelaxedInfo, copyAttr
from fontFeatures.ttLib import unparse


TRUETYPE_INSTRUCTIONS_KEY = "public.truetype.instructions"
Expand Down Expand Up @@ -1067,6 +1066,7 @@ def _extractOpenTypeKerningFromKern(source):


def extractOpenTypeFeatures(source):
from fontFeatures.ttLib import unparse
return unparse(source).asFea()


0 comments on commit dd02bd7

Please sign in to comment.