qt5base-lts/examples/widgets/painting/fontsampler
Allan Sandfeld Jensen a0b021d136 Fix selection of fonts based on styleName
By carrying the styleName through from QFontDef to
bestFoundry and giving it to bestStyle that can use it
we can accurately match fonts based on styleName. This
makes it possible to match styles such as DejaVu Sans
Condensed and Ubuntu Medium.

The example fontsampler is updated so it can actually
sample all the different styles it lists.

Change-Id: I381effc74130311f98794cd07d30be10dee4fe45
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
2014-08-14 14:39:20 +02:00
..
fontsampler.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
main.cpp Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
mainwindow.cpp Fix selection of fonts based on styleName 2014-08-14 14:39:20 +02:00
mainwindow.h Compile fix when QT_NO_PRINTDIALOG is defined 2013-02-26 13:31:45 +01:00
mainwindowbase.ui Moving .qdoc files under examples/widgets/doc 2012-08-20 12:20:55 +02:00