From 7e18b970b4e5f9a9635215f5e843665c140c606a Mon Sep 17 00:00:00 2001 From: Lars Muldjord Date: Tue, 22 Nov 2016 22:11:59 +0100 Subject: =?UTF-8?q?Now=20renders=20'=E2=96=AF'=20for=20non-character=20cha?= =?UTF-8?q?racters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/fontgen/generator.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools') 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))); -- cgit v1.2.3