From 47252eeb1f757f7c9ab2f5c412a9aeee9c6bb3d0 Mon Sep 17 00:00:00 2001 From: Lars Muldjord Date: Tue, 22 Nov 2016 17:34:42 +0100 Subject: Now renders font twice in the same place to make it stand more out --- tools/fontgen/generator.cc | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3