diff --git a/Lib/fontTools/pens/pointInsidePen.py b/Lib/fontTools/pens/pointInsidePen.py index 0b3373fa9..fefc4c4d3 100644 --- a/Lib/fontTools/pens/pointInsidePen.py +++ b/Lib/fontTools/pens/pointInsidePen.py @@ -181,7 +181,7 @@ class PointInsidePen(BasePen): solutions = [t for t in solutions if ZERO_MINUS_EPSILON <= t <= ONE_PLUS_EPSILON] if not solutions: return - XXX + # XXX def _closePath(self): if self._getCurrentPoint() != self.firstPoint: diff --git a/Lib/fontTools/ttLib/tables/G_P_K_G_.py b/Lib/fontTools/ttLib/tables/G_P_K_G_.py index ad90f4a88..4e13830b0 100644 --- a/Lib/fontTools/ttLib/tables/G_P_K_G_.py +++ b/Lib/fontTools/ttLib/tables/G_P_K_G_.py @@ -126,4 +126,4 @@ class table_G_P_K_G_(DefaultTable.DefaultTable): if itemName == "hexdata": self.glyphlets.append(readHex(itemContent)) else: - setattr(self, name, safeEval(value)) + setattr(self, name, safeEval(attrs["value"]))