summaryrefslogtreecommitdiff
path: root/tools/fontgen
diff options
context:
space:
mode:
authorLars Muldjord <muldjordlars@gmail.com>2016-11-22 22:11:59 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-12-02 16:59:35 +0100
commit7e18b970b4e5f9a9635215f5e843665c140c606a (patch)
treede38c26731dee9c07f1f57796cd9647f6e4e0e65 /tools/fontgen
parent270b89ad4f1f21dd7fe6a00d601e670c7c62e24d (diff)
Now renders '▯' for non-character characters
Diffstat (limited to 'tools/fontgen')
-rw-r--r--tools/fontgen/generator.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/fontgen/generator.cc b/tools/fontgen/generator.cc
index f4714e5..edef0e5 100644
--- a/tools/fontgen/generator.cc
+++ b/tools/fontgen/generator.cc
@@ -153,13 +153,13 @@ void Generator::setHorizLimits(int &horizOffset, int &charWidth,
if(curChar < 32 || (curChar > 126 && curChar < 160)) {
if(embossEnabled->isChecked()) {
p.setPen(QPen(QColor(255, 255, 255, EMBOSSALPHA)));
- p.drawText(maxSize / 2, maxSize / 2 + 1, "+");
+ p.drawText(maxSize / 2, maxSize / 2 + 1, "▯");
p.setPen(QPen(QColor(0, 0, 0, 255)));
}
// Draw twice to make it clearer
- p.drawText(maxSize / 2, maxSize / 2, "+");
+ p.drawText(maxSize / 2, maxSize / 2, "▯");
p.setPen(QPen(QColor(0, 0, 0, FONTALPHA)));
- p.drawText(maxSize / 2, maxSize / 2, "+");
+ p.drawText(maxSize / 2, maxSize / 2, "▯");
} else {
if(embossEnabled->isChecked()) {
p.setPen(QPen(QColor(255, 255, 255, EMBOSSALPHA)));