diff --git a/Lib/fontTools/ttLib/tables/_p_o_s_t.py b/Lib/fontTools/ttLib/tables/_p_o_s_t.py index 82fdb499f..609ec706e 100644 --- a/Lib/fontTools/ttLib/tables/_p_o_s_t.py +++ b/Lib/fontTools/ttLib/tables/_p_o_s_t.py @@ -62,7 +62,7 @@ class table__p_o_s_t(DefaultTable.DefaultTable): return glyphOrder def decode_format_1_0(self, data, ttFont): - self.glyphOrder = standardGlyphOrder[:] + self.glyphOrder = standardGlyphOrder[:ttFont["maxp"].numGlyphs] def decode_format_2_0(self, data, ttFont): numGlyphs, = struct.unpack(">H", data[:2])