Skip to content

Commit

Permalink
Update hint removal method in Font.py to reflect FontTools changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ftCLI committed May 31, 2024
1 parent a2696f7 commit eb0def8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions foundryToolsCLI/Lib/Font.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,10 +479,8 @@ def otf_dehint(self) -> None:
"""
if not self.is_otf:
return
# noinspection PyUnresolvedReferences
from fontTools.subset.cff import remove_hints

self["CFF "].remove_hints()
self["CFF "].cff.remove_hints()

def otf_desubroutinize(self) -> None:
"""
Expand Down

0 comments on commit eb0def8

Please sign in to comment.