diff options
author | robot-piglet <[email protected]> | 2025-07-31 11:14:11 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-07-31 12:10:37 +0300 |
commit | e177928be72df9669dbb830824b4233a33c8723f (patch) | |
tree | a91d4ec6bbe7dc221c049475a91255c2996fd84e /contrib/python/fonttools/fontTools/ttLib/tables/T_S_I__5.py | |
parent | a1700abf3c749b43117e757deb259d2a7bcdf46a (diff) |
Intermediate changes
commit_hash:60aaacde4a6a0fb68b6435d7f100365d0c77d64d
Diffstat (limited to 'contrib/python/fonttools/fontTools/ttLib/tables/T_S_I__5.py')
-rw-r--r-- | contrib/python/fonttools/fontTools/ttLib/tables/T_S_I__5.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/python/fonttools/fontTools/ttLib/tables/T_S_I__5.py b/contrib/python/fonttools/fontTools/ttLib/tables/T_S_I__5.py index 6afd76832fe..8aa382e43ca 100644 --- a/contrib/python/fonttools/fontTools/ttLib/tables/T_S_I__5.py +++ b/contrib/python/fonttools/fontTools/ttLib/tables/T_S_I__5.py @@ -38,8 +38,8 @@ class table_T_S_I__5(DefaultTable.DefaultTable): def compile(self, ttFont): glyphNames = ttFont.getGlyphOrder() a = array.array("H") - for i in range(len(glyphNames)): - a.append(self.glyphGrouping.get(glyphNames[i], 0)) + for glyphName in glyphNames: + a.append(self.glyphGrouping.get(glyphName, 0)) if sys.byteorder != "big": a.byteswap() return a.tobytes() |