32 lines
1.6 KiB
Diff
32 lines
1.6 KiB
Diff
diff --git a/nototools-cd79db632c9a506ad61ae72bfad5875341ca56b8/nototools/compare_fonts.py b/nototools-cd79db632c9a506ad61ae72bfad5875341ca56b8/nototools/compare_fonts.py
|
|
index b0b9379..48a1746 100755
|
|
--- a/nototools-cd79db632c9a506ad61ae72bfad5875341ca56b8/nototools/compare_fonts.py
|
|
+++ b/nototools-cd79db632c9a506ad61ae72bfad5875341ca56b8/nototools/compare_fonts.py
|
|
@@ -182,10 +182,10 @@ class FontCompare(object):
|
|
return result
|
|
|
|
def _test_gid(self, cp):
|
|
- return self.test.getGlyphID(self.test_cmap[cp], requireReal=True)
|
|
+ return self.test.getGlyphID(self.test_cmap[cp])
|
|
|
|
def _target_gid(self, cp):
|
|
- return self.target.getGlyphID(self.target_cmap[cp], requireReal=True)
|
|
+ return self.target.getGlyphID(self.target_cmap[cp])
|
|
|
|
def _cp_error_msg(self, cp, test_msg, target_msg):
|
|
test_gid = self._test_gid(cp)
|
|
diff --git a/nototools-cd79db632c9a506ad61ae72bfad5875341ca56b8/nototools/noto_lint.py b/nototools-cd79db632c9a506ad61ae72bfad5875341ca56b8/nototools/noto_lint.py
|
|
index 4951832..4c902f1 100755
|
|
--- a/nototools-cd79db632c9a506ad61ae72bfad5875341ca56b8/nototools/noto_lint.py
|
|
+++ b/nototools-cd79db632c9a506ad61ae72bfad5875341ca56b8/nototools/noto_lint.py
|
|
@@ -1380,7 +1380,7 @@ def check_font(
|
|
cmap = font_data.get_cmap(font)
|
|
for cp in lint_config.parse_int_ranges(WIN_ANSI_CODEPOINTS, True):
|
|
if cp in cmap:
|
|
- tmp_gids.add(font.getGlyphID(cmap[cp], requireReal=True))
|
|
+ tmp_gids.add(font.getGlyphID(cmap[cp]))
|
|
win_ansi_gids = frozenset(tmp_gids)
|
|
|
|
font_ymin = None
|
|
|