[Qt-interest] Fixed pitch font

Andre Somers andre at familiesomers.nl
Tue Feb 16 09:19:07 CET 2010


Volker wrote:
> Hi.
>
> What is the most portable way (linux/win/OSX) of requesting a fixed pitch 
> font?
>
>
> QFont fixedPitch( "monospace" );
> does not work on OSX.
>   
Would just iterating over the fonts from QFontDatabase and querying per 
font (family) if it is fixed pitch work?

André




More information about the Qt-interest-old mailing list