QFontInfo Class Reference


The QFontInfo class is used to fetch information about the window system font actually used to match a QFont. (details) (complete member list)

#include <qfontinf.h>

Public Members


Detailed Description

The QFontInfo class is used to fetch information about the window system font actually used to match a QFont.


Member Function Documentation

QFont::CharSet QFontInfo::charSet() const

Returns the character set of the matched window system font.

bool QFontInfo::exactMatch () const

Returns TRUE if the matched window system font exactly matches all attributes set in the QFont connected to the QFontInfo.

const char * QFontInfo::family () const

Returns the family name of the matched window system font.

bool QFontInfo::fixedPitch () const

Returns the fixed pitch value of the matched window system font.

bool QFontInfo::italic () const

Returns the italic value of the matched window system font.

int QFontInfo::pointSize () const

Returns the point size of the matched window system font.

bool QFontInfo::rawMode () const

Returns TRUE if the QFont connected to the QFontInfo is a raw mode font. If it is all other functions in QFontInfo will return the same values set in the QFont, regardless of the font actually used.

bool QFontInfo::strikeOut () const

Returns the strike out value of the matched window system font. (this is always equal to the one requested under X windows).

QFont::StyleHint QFontInfo::styleHint() const

Returns the style of the matched window system font. Currently only returns the hint set in QFont.

bool QFontInfo::underline () const

Returns the underline value of the matched window system font. (this is always equal to the one requested under X windows).

int QFontInfo::weight () const

Returns the weight of the matched window system font.


This file is part of the Qt toolkit, copyright 1995 Troll Tech, all rights reserved.

It was generated from the following files:


Generated at 16:17, 1995/06/30 by the webmaster at Troll Tech