summaryrefslogtreecommitdiff
path: root/scripts/lib/fontbuild/generateGlyph.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/fontbuild/generateGlyph.py')
-rw-r--r--scripts/lib/fontbuild/generateGlyph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/fontbuild/generateGlyph.py b/scripts/lib/fontbuild/generateGlyph.py
index d7e49d8..5f60683 100644
--- a/scripts/lib/fontbuild/generateGlyph.py
+++ b/scripts/lib/fontbuild/generateGlyph.py
@@ -91,7 +91,7 @@ def copyMarkAnchors(f, g, srcname, width):
anchor_parent_top = anchor
break
- if anchor_parent_top:
+ if anchor_parent_top is not None:
g.appendAnchor("top", anchor_parent_top.position)