aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/glyphCollectionView.py
diff options
context:
space:
mode:
authorFelipe Corrêa da Silva Sanches2015-09-25 20:31:28 -0300
committerFelipe Corrêa da Silva Sanches2015-09-25 20:31:28 -0300
commitba8170acfcad0ada23131db695bd203baf8cca8a (patch)
tree7620593ab323c0034ff333e682120bce8e2f8813 /Lib/defconQt/glyphCollectionView.py
parent8911038d566d436ac9eb8afd35f3573de4653cd5 (diff)
downloadtrufont-ba8170acfcad0ada23131db695bd203baf8cca8a.tar.bz2
use defcon API to add components to a glyph
Diffstat (limited to 'Lib/defconQt/glyphCollectionView.py')
-rw-r--r--Lib/defconQt/glyphCollectionView.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/defconQt/glyphCollectionView.py b/Lib/defconQt/glyphCollectionView.py
index df4a305..e49b32a 100644
--- a/Lib/defconQt/glyphCollectionView.py
+++ b/Lib/defconQt/glyphCollectionView.py
@@ -365,11 +365,6 @@ class GlyphCollectionWidget(QWidget):
painter.translate(column * self.squareSize + x_offset, row * self.squareSize + self.squareSize + y_offset)
painter.scale(factor, -factor)
painter.fillPath(outline, Qt.black)
- try:
- for ref in glyph.refs:
- painter.fillPath(ref.getRepresentation("defconQt.QPainterPath"), Qt.black)
- except:
- pass
painter.restore()
else:
painter.save()