Qt-interest Archive, August 2006
QFont, setPixelSize, setPointSize
Message 1 in thread
QFont font("LucidiaTypewriter").
availble size are 6,7,8,9,10,14,16 form QFontDialog.
Are these number pixelSize or PointSize?
If I
font.setPixelSize(14). Does this mean if I use drawText, each character will
be 14 pixzel wide?
Thanks!
-TCL
Message 2 in thread
On 07.08.06 10:14:37, Ta-Cheng Lin wrote:
> QFont font("LucidiaTypewriter").
> availble size are 6,7,8,9,10,14,16 form QFontDialog.
> Are these number pixelSize or PointSize?
point size.
> font.setPixelSize(14). Does this mean if I use drawText, each character will
> be 14 pixzel wide?
Yes, isn't the documentation of the function clear enough?
Andreas
--
[ signature omitted ]