summaryrefslogtreecommitdiff
path: root/tools/fontgen/generator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fontgen/generator.cc')
-rw-r--r--tools/fontgen/generator.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/fontgen/generator.cc b/tools/fontgen/generator.cc
index 8ad179b..cb83974 100644
--- a/tools/fontgen/generator.cc
+++ b/tools/fontgen/generator.cc
@@ -132,6 +132,8 @@ void Generator::setHorizLimits(int &horizOffset, int &charWidth,
p.setPen(QPen(QColor(0, 0, 0, 255)));
p.setFont(font);
+ // Draw twice to make it clearer
+ p.drawText(maxSize / 2, maxSize / 2, QChar(curChar));
p.drawText(maxSize / 2, maxSize / 2, QChar(curChar));
horizOffset = getHorizOffset(image);