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.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/fontgen/generator.cc b/tools/fontgen/generator.cc
index 66c1984..61f87c7 100644
--- a/tools/fontgen/generator.cc
+++ b/tools/fontgen/generator.cc
@@ -35,10 +35,10 @@
#include <QPen>
#include <QFont>
-#define ALPHATHRES 150
+#define ALPHATHRES 100
-#define FONTALPHA 80
-#define EMBOSSALPHA 230
+#define FONTALPHA 200
+#define EMBOSSALPHA 175
Generator::Generator()
{
@@ -86,8 +86,8 @@ void Generator::initGenerate()
font.setFamily(fontLineEdit->text());
font.setPixelSize(sizeLineEdit->text().toInt());
- font.setStretch(97);
- font.setHintingPreference(QFont::PreferVerticalHinting);
+ //font.setStretch(96);
+ font.setHintingPreference(QFont::PreferFullHinting);
setVertLimits(vertOffset, fontHeight);