Adding KFontUtils to kdeui
Christoph Feck
christoph at maxiom.de
Mon May 4 18:10:36 BST 2009
KFontMetrics sounds like it is a subclass of QFontMetrics, not sure if it is
wise to use this name...
Am Saturday 02 May 2009 15:50:02 schrieb Albert Astals Cid:
> The QPainter is needed because from what my experience show rendering on a
> QPrinter yields different results than rendering on a QImage.
>
> Also it's not on QFontMetrics because AFAIR QFontMetrics works on QFonts
> only so it can't have that knowledge.
You can create a font metrics object suited for any device using the correct
constructor.
Christoph Feck (kdepepo)
More information about the kde-core-devel
mailing list