diff options
author | Lars Muldjord <muldjordlars@gmail.com> | 2016-11-22 21:30:08 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-12-02 16:59:35 +0100 |
commit | 780d76fec7ead8d757f3dab718ed63e964cabdf1 (patch) | |
tree | 00be4c2d1261cf0a1762ab3fa7689e45709a40b2 | |
parent | f4c5b59411535158ad8059a328030198007d6382 (diff) |
Adjusted font look
-rw-r--r-- | tools/fontgen/generator.cc | 10 |
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); |