summaryrefslogtreecommitdiffstats
path: root/tools/makeqpf/qpf2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/makeqpf/qpf2.cpp')
-rw-r--r--tools/makeqpf/qpf2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/makeqpf/qpf2.cpp b/tools/makeqpf/qpf2.cpp
index ee37c53..30800c8 100644
--- a/tools/makeqpf/qpf2.cpp
+++ b/tools/makeqpf/qpf2.cpp
@@ -499,7 +499,7 @@ void QPF::addGlyphs(QFontEngine *fe, const QList<CharacterRange> &ranges)
foreach (CharacterRange range, ranges) {
if (debugVerbosity > 2)
qDebug() << "rendering range from" << range.start << "to" << range.end;
- for (uint uc = range.start; uc < range.end; ++uc) {
+ for (uint uc = range.start; uc <= range.end; ++uc) {
QChar ch(uc);
int nglyphs = 10;
if (!fe->stringToCMap(&ch, 1, &layout, &nglyphs, /*flags*/ 0))