Skip to content

Commit

Permalink
Fix is_italic
Browse files Browse the repository at this point in the history
  • Loading branch information
benkiel authored Jan 11, 2025
1 parent 207e1b7 commit 26fd799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lib/fontbakery/testable.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def is_italic(self):
("OS/2" in ttFont and ttFont["OS/2"].fsSelection & FsSelection.ITALIC)
or ("head" in ttFont and ttFont["head"].macStyle & MacStyle.ITALIC)
or keyword_in_full_font_name(ttFont, "italic")
or ("post" in ttFont and ttFont["post"].italicAngle)
or ("post" in ttFont and ttFont["post"].italicAngle != 0)
)

@cached_property
Expand Down

0 comments on commit 26fd799

Please sign in to comment.