Location:
OPENFONT.H
class TOpenFontFaceAttrib : public TOpenFontFaceAttribBase;
Typeface attributes.
These attributes include the name, family name, and supported scripts.
TOpenFontFaceAttribBase
- Font attribute base class
TOpenFontFaceAttrib
- Typeface attributes
Defined in TOpenFontFaceAttrib
:
FamilyName()
, FullName()
, LocalFamilyName()
, LocalFullName()
, MinSizeInPixels()
, SetFamilyName()
, SetFullName()
, SetLocalFamilyName()
, SetLocalFullName()
, SetMinSizeInPixels()
, ShortFamilyName()
, ShortFullName()
, ShortLocalFamilyName()
, ShortLocalFullName()
, TOpenFontFaceAttrib()
, operator==()
Inherited from TOpenFontFaceAttribBase
:
Coverage()
,
EArabicSet
,
EArmenianSet
,
EBengaliSet
,
EBold
,
ECJKSet
,
ECyrillicSet
,
EDevanagariSet
,
EGeorgianSet
,
EGreekSet
,
EGujuratiSet
,
EGurmukhiSet
,
EHangulJamoSet
,
EHangulSet
,
EHebrewSet
,
EItalic
,
EKanaSets
,
EKannadaSet
,
ELaoSet
,
ELatinSet
,
EMalayalamSet
,
EMonoWidth
,
ENameLength
,
EOriyaSet
,
ESerif
,
ESymbolSets
,
ETamilSet
,
ETeluguSet
,
EThaiSet
,
HasCJK()
,
HasCyrillic()
,
HasGreek()
,
HasHangul()
,
HasKana()
,
HasLatin()
,
IsBold()
,
IsItalic()
,
IsMonoWidth()
,
IsSerif()
,
IsSymbol()
,
Name()
,
SetBold()
,
SetCoverage()
,
SetItalic()
,
SetMonoWidth()
,
SetName()
,
SetSerif()
,
anonymous
,
iCoverage
,
iName
,
iReserved
,
iStyle
inline TOpenFontFaceAttrib();
Default C++ constructor.
The function initialises the minimum typeface size to zero, the names to NULL, and the coverage and style flags to zero.
inline TBool operator==(const TOpenFontFaceAttrib &aAttrib) const;
Equality operator.
Compares this and another set of font attributes, including the coverage, the family name, the local full name, the local family name, and the minimum size in pixels.
|
|
inline TPtrC FullName() const;
Gets the full name.
The full name of the typeface includes style attributes like Italic, Bold, and Cursive.
|
inline TPtrC FamilyName() const;
Gets the family name.
Note: The family name of the typeface does not include style attributes like "Italic".
|
inline TPtrC LocalFullName() const;
Gets the local full name.
The local full name of the typeface includes style attributes like Italic, Bold, and Cursive.
The local name of the typeface is the name in the language of the current locale, where this is provided by the font file. If the local name is not available then the local name will be the same as the ordinary name.
|
inline TPtrC LocalFamilyName() const;
Gets the local family name.
The local name of the typeface is the name in the language of the current locale, where this is provided by the font file. If the local name is not available then the local name will be the same as the ordinary name.
Note: The family name of the typeface does not include style attributes like 'Italic'.
|
inline TPtrC ShortFullName() const;
Gets the short full name.
This is the full name of the typeface, truncated to KMaxTypefaceNameLength, if necessary.
Note: Short names are names truncated to KMaxTypefaceNameLength (24) characters where necessary so that they can be used in the TTypeFace class. The Open Font Framework allows 32 characters as a maximum name length.
|
inline TPtrC ShortFamilyName() const;
Gets the short family name.
This is the family name, truncated to KMaxTypefaceNameLength, if necessary.
Note: Short names are names truncated to KMaxTypefaceNameLength (24) characters where necessary so that they can be used in the TTypeFace class. The Open Font Framework allows 32 characters as a maximum name length.
|
inline TPtrC ShortLocalFullName() const;
Gets the short local full name.
This is the local full name of the typeface, truncated to KMaxTypefaceNameLength, if necessary.
Note: Short names are names truncated to KMaxTypefaceNameLength (24) characters where necessary so that they can be used in the TTypeFace class. The Open Font Framework allows 32 characters as a maximum name length.
|
inline TPtrC ShortLocalFamilyName() const;
Gets the short local family name.
This is the local family name of the typeface, truncated to KMaxTypefaceNameLength, if necessary.
Note: Short names are names truncated to KMaxTypefaceNameLength (24) characters where necessary so that they can be used in the TTypeFace class. The Open Font Framework allows 32 characters as a maximum name length.
|
inline void SetFullName(const TDesC &aName);
Sets the full name.
|
inline void SetFamilyName(const TDesC &aName);
Sets the family name.
|
inline void SetLocalFullName(const TDesC &aName);
Sets the local full name.
|
inline void SetLocalFamilyName(const TDesC &aName);
Sets the local family name.
|
inline TInt MinSizeInPixels() const;
Gets the minimum typeface size.
This is the smallest size that can be drawn legibly.
|
inline void SetMinSizeInPixels(TInt aSize);
Set the minimum typeface size.
This is the smallest size that can be drawn legibly.
|