To move the look of mojox from "FLTK" to say "QT" I added a fixed 20% leading to the font class and wondering if this attribute may be worth considering.
One issue may be sub pixel blurring if font height starts returning non integer results for some font sizes.
Ideally text should be drawn with y at half lead offset but again this has sub-pixel implications.
Original Author: nitrologic
To move the look of mojox from "FLTK" to say "QT" I added a fixed 20% leading to the font class and wondering if this attribute may be worth considering.
One issue may be sub pixel blurring if font height starts returning non integer results for some font sizes.
Ideally text should be drawn with y at half lead offset but again this has sub-pixel implications.
more info on leading here - https://en.wikipedia.org/wiki/Leading