diff --git a/Lib/fontTools/ttLib/ttFont.py b/Lib/fontTools/ttLib/ttFont.py index 9948d4e2f..692f99ac8 100644 --- a/Lib/fontTools/ttLib/ttFont.py +++ b/Lib/fontTools/ttLib/ttFont.py @@ -451,6 +451,8 @@ class TTFont(object): self.glyphOrder = glyphOrder if hasattr(self, '_reverseGlyphOrderDict'): del self._reverseGlyphOrderDict + if self.isLoaded("glyf"): + self["glyf"].setGlyphOrder(glyphOrder) def getGlyphOrder(self): """Returns a list of glyph names ordered by their position in the font."""