Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
qfont different sizes for fonts
user4592357 last edited by
in an app i've added comboboxes for font family and font size. but some fonts support only limited set of sizes. how can i deal with this? how can i check whether the changed size (from combo box) is available for the current font set?
Do you have an example of such a font ?
Also what platform and Qt version ?
user4592357 last edited by user4592357
qt4 on linux
an example of such font is lucida typewriter, console (only 1 size), fangsong ti, nsc fixed
EDIT: probably a better question to ask is: how can i get available sizes for a particular font?