Using fixed fonts from Ubuntu-16 which is better in terms of monochrome font rendering

This commit is contained in:
Matthias 2026-08-15 12:24:26 +00:00
parent 2e54668001
commit dc0e763149
2 changed files with 92643 additions and 80991 deletions

View File

@ -84,7 +84,11 @@ main (int argc, char *argv [])
printf ("\n// Font: %s\n", f.toString ().toLatin1 ().constData ()); printf ("\n// Font: %s\n", f.toString ().toLatin1 ().constData ());
printf ("const unsigned int ff%d_height = %d;\n", os, fm.height ()); printf ("const unsigned int ff%d_height = %d;\n", os, fm.height ());
#if QT_VERSION < 0x050800
printf ("const unsigned int ff%d_cap_height = %d;\n", os, fm.ascent ());
#else
printf ("const unsigned int ff%d_cap_height = %d;\n", os, fm.capHeight ()); printf ("const unsigned int ff%d_cap_height = %d;\n", os, fm.capHeight ());
#endif
printf ("const unsigned int ff%d_ascent = %d;\n", os, fm.ascent ()); printf ("const unsigned int ff%d_ascent = %d;\n", os, fm.ascent ());
printf ("const unsigned int ff%d_descent = %d;\n", os, fm.descent ()); printf ("const unsigned int ff%d_descent = %d;\n", os, fm.descent ());
printf ("const unsigned int ff%d_line_height = %d;\n", os, fm.lineSpacing ()); printf ("const unsigned int ff%d_line_height = %d;\n", os, fm.lineSpacing ());

File diff suppressed because it is too large Load Diff