#include <openfont.h>
class TOpenFontFaceAttrib : public TOpenFontFaceAttribBase |
Public Member Functions | |
---|---|
TOpenFontFaceAttrib() | |
TPtrC | FamilyName() |
TPtrC | FullName() |
TPtrC | LocalFamilyName() |
TPtrC | LocalFullName() |
TInt | MinSizeInPixels() |
void | SetFamilyName(const TDesC &) |
void | SetFullName(const TDesC &) |
void | SetLocalFamilyName(const TDesC &) |
void | SetLocalFullName(const TDesC &) |
void | SetMinSizeInPixels(TInt) |
TPtrC | ShortFamilyName() |
TPtrC | ShortFullName() |
TPtrC | ShortLocalFamilyName() |
TPtrC | ShortLocalFullName() |
TBool | operator==(const TOpenFontFaceAttrib &) |
Inherited Attributes | |
---|---|
TOpenFontFaceAttribBase::iCoverage | |
TOpenFontFaceAttribBase::iName | |
TOpenFontFaceAttribBase::iReserved | |
TOpenFontFaceAttribBase::iStyle |
Inherited Enumerations | |
---|---|
TOpenFontFaceAttribBase:@49 | |
TOpenFontFaceAttribBase:@50 | |
TOpenFontFaceAttribBase:@51 | |
TOpenFontFaceAttribBase:@52 |
Typeface attributes.
These attributes include the name, family name, and supported scripts.
See also: CFbsFont::GetFaceAttrib()
TOpenFontFaceAttrib | ( | ) | [inline] |
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 [inline] |
Gets the family name.
Note: The family name of the typeface does not include style attributes like "Italic".
See also: FullName()
Returns: The family name of the typeface.
TPtrC | FullName | ( | ) | const [inline] |
Gets the full name.
The full name of the typeface includes style attributes like Italic, Bold, and Cursive.
See also: FamilyName()
Returns: The full name of the typeface.
TPtrC | LocalFamilyName | ( | ) | const [inline] |
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'.
Returns: The local family name of the typeface.
TPtrC | LocalFullName | ( | ) | const [inline] |
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.
Returns: The local full name of the typeface.
TInt | MinSizeInPixels | ( | ) | const [inline] |
Gets the minimum typeface size.
This is the smallest size that can be drawn legibly.
Returns: The minimum typeface size (in pixels).
void | SetFamilyName | ( | const TDesC & | aName | ) | [inline] |
Sets the family name.
See also: FamilyName()
Parameter | Description |
---|---|
aName | The family name of the typeface. |
void | SetFullName | ( | const TDesC & | aName | ) | [inline] |
Sets the full name.
See also: FullName()
Parameter | Description |
---|---|
aName | The full name of the typeface. |
void | SetLocalFamilyName | ( | const TDesC & | aName | ) | [inline] |
Sets the local family name.
See also: LocalFamilyName()
Parameter | Description |
---|---|
aName | The local family name of the typeface. |
void | SetLocalFullName | ( | const TDesC & | aName | ) | [inline] |
Sets the local full name.
See also: LocalFullName()
Parameter | Description |
---|---|
aName | The local full name of the typeface. |
void | SetMinSizeInPixels | ( | TInt | aSize | ) | [inline] |
Set the minimum typeface size.
This is the smallest size that can be drawn legibly.
See also: MinSizeInPixels()
Parameter | Description |
---|---|
aSize | Sets the minimum typeface size (in pixels). |
TPtrC | ShortFamilyName | ( | ) | const [inline] |
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.
See also: FamilyName()
Returns: The short family name of the typeface.
TPtrC | ShortFullName | ( | ) | const [inline] |
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.
See also: FullName()
Returns: The short full name of the typeface.
TPtrC | ShortLocalFamilyName | ( | ) | const [inline] |
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.
See also: LocalFamilyName()
Returns: The short local family name of the typeface.
TPtrC | ShortLocalFullName | ( | ) | const [inline] |
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.
See also: LocalFullName()
Returns: The short local full name of the typeface.
TBool | operator== | ( | const TOpenFontFaceAttrib & | aAttrib | ) | const [inline] |
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.
Parameter | Description |
---|---|
aAttrib | Contains the font attributes and names to compare. |
Returns: ETrue if all values are equal, EFalse if not.