From 780d76fec7ead8d757f3dab718ed63e964cabdf1 Mon Sep 17 00:00:00 2001 From: Lars Muldjord Date: Tue, 22 Nov 2016 21:30:08 +0100 Subject: Adjusted font look --- tools/fontgen/generator.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools') 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 #include -#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); -- cgit v1.2.3