diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-07-17 14:00:15 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-07-17 14:00:15 -0700 |
commit | 374cdb9618876e78418956be3688ce635d03083c (patch) | |
tree | 0b9594f24dcc1ffd0e6cbba34155a51ad444571d /hinted | |
parent | 63121378f3205be133a08804d5fdce23c3f6198d (diff) |
Explicitly check anchor objects against None.
This is necessary because of some implementation details in RoboFab;
RAnchor objects always evaluate to False in a boolean context.
Fixes a bug in which "top" anchors were not being added to composite
glyphs, since they are added only when the "parenttop" anchor is
present (which was checked for with a statement like "if anchor:").
Diffstat (limited to 'hinted')
0 files changed, 0 insertions, 0 deletions