TFontSpec Class Reference

#include <textbase.h>

class TFontSpec
Public Attributes
TFontStyle iFontStyle
TInt iHeight
TTypeface iTypeface
Public Member Functions
TFontSpec()
TFontSpec(const TDesC &, TInt)
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
IMPORT_C TIntScriptTypeForMetrics()
IMPORT_C voidSetScriptTypeForMetrics(TLanguage)
IMPORT_C TBooloperator==(const TFontSpec &)

Detailed Description

Specifies the font specification in device independent terms.

Member Attribute Documentation

iFontStyle

TFontStyle iFontStyle

The font style of the typeface.

iHeight

TInt iHeight

The height of the typeface (in twips).

iTypeface

TTypeface iTypeface

The typeface.

Constructor & Destructor Documentation

TFontSpec ( )

IMPORT_CTFontSpec()

TFontSpec ( const TDesC &, TInt )

IMPORT_CTFontSpec(const TDesC &aTypefaceName,
TIntaHeight
)

Member Function Documentation

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

InternalizeL ( RReadStream & )

IMPORT_C voidInternalizeL(RReadStream &aStream)

ScriptTypeForMetrics ( )

IMPORT_C TIntScriptTypeForMetrics()const

SetScriptTypeForMetrics ( TLanguage )

IMPORT_C voidSetScriptTypeForMetrics(TLanguageaLanguage)

operator== ( const TFontSpec & )

IMPORT_C TBooloperator==(const TFontSpec &aFontSpec)const