diff --git a/Lib/fontParts/base/glyph.py b/Lib/fontParts/base/glyph.py index 3414dbd0..0f67ea66 100644 --- a/Lib/fontParts/base/glyph.py +++ b/Lib/fontParts/base/glyph.py @@ -1465,6 +1465,7 @@ def round(self): - components - anchors - guidelines + - image """ self._round() @@ -1480,6 +1481,8 @@ def _round(self): anchor.round() for guideline in self.guidelines: guideline.round() + if self.image.data is not None: + image.round() self.width = normalizers.normalizeVisualRounding(self.width) self.height = normalizers.normalizeVisualRounding(self.height)