[Qt-interest] QFont setPointSize and setPixelSize scaling
Joshua Grauman
jnfo-c at grauman.com
Sun Dec 19 01:30:04 CET 2010
Hello all,
I would like to use QPainter::drawText() to draw some text. I am going to
scale some of the objects I draw on the widget and want to scale the text
appropriately. I get the impression from reading the docs that
QFont::setPointSize() doesn't scale linearly across the whole range of
point sizes. Is this correct? Does it depend on the font? What about
QFont::setPixelSize(), does it scale exactly linearly across the entire
range of pixel sizes? Thanks!
Josh
More information about the Qt-interest-old
mailing list