diff options
| author | Adrien Tétar | 2015-10-31 16:41:17 +0100 |
|---|---|---|
| committer | Adrien Tétar | 2015-10-31 16:41:17 +0100 |
| commit | 6135470d0ada8686ace9d44ace4e103fe2fd5234 (patch) | |
| tree | aaca30f1c2d51e12a99e6fe480a5ef6cac612f05 /Lib/defconQt/objects/defcon.py | |
| parent | 8ee74e400b2f8c41f7c16918c340a4561e98d8bd (diff) | |
| download | trufont-6135470d0ada8686ace9d44ace4e103fe2fd5234.tar.bz2 | |
defcon: newGlyph returns the glyph, glyphView: preserve currentTool
Diffstat (limited to 'Lib/defconQt/objects/defcon.py')
| -rw-r--r-- | Lib/defconQt/objects/defcon.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/defconQt/objects/defcon.py b/Lib/defconQt/objects/defcon.py index e9c3470..496f1c6 100644 --- a/Lib/defconQt/objects/defcon.py +++ b/Lib/defconQt/objects/defcon.py @@ -19,9 +19,7 @@ class TFont(Font): if not override: if name in self: return None - # XXX(defcon): newGlyph should return the glyph - self.newGlyph(name) - glyph = self[name] + glyph = self.newGlyph(name) glyph.width = width # TODO: list ought to be changeable from AGL2UV if addUnicode: |
