mirror of https://github.com/KLayout/klayout.git
Using fixed fonts from Ubuntu-16 which is better in terms of monochrome font rendering
This commit is contained in:
parent
2e54668001
commit
dc0e763149
|
|
@ -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
Loading…
Reference in New Issue