Location: openfont.h
Link against: N/A
TOpenFontFaceAttrib
Supported from 5.0
Typeface attributes.
These attributes include the name, family name, and supported scripts.
|
Defined in TOpenFontFaceAttrib
:
FamilyName()
, FullName()
, LocalFamilyName()
, LocalFullName()
, MinSizeInPixels()
, SetFamilyName()
, SetFullName()
, SetLocalFamilyName()
, SetLocalFullName()
, SetMinSizeInPixels()
, ShortFamilyName()
, ShortFullName()
, ShortLocalFamilyName()
, ShortLocalFullName()
, TOpenFontFaceAttrib()
Inherited from TOpenFontFaceAttribBase
:
Anonymous
,
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()
,
operator==()
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.
TPtrC FamilyName() const;
Gets the family name.
Note:
The family name of the typeface does not include style attributes like "Italic".
|
TPtrC FullName() const;
Gets the full name.
The full name of the typeface includes style attributes like Italic, Bold, and Cursive.
|
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'.
|
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.
|
TInt MinSizeInPixels() const;
Gets the minimum typeface size.
This is the smallest size that can be drawn legibly.
|
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.
|
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.
|
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.
|
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.
|
void SetFamilyName(const TDesC& aName);
Sets the family name.
|
void SetFullName(const TDesC& aName);
Sets the full name.
|
void SetLocalFamilyName(const TDesC& aName);
Sets the local family name.
|
void SetLocalFullName(const TDesC& aName);
Sets the local full name.
|
void SetMinSizeInPixels(TInt aSize);
Set the minimum typeface size.
This is the smallest size that can be drawn legibly.
|