API published in: S60 3rd Ed FP 1
Link against: uiklaf.lib avkon.lib fontutils.lib
Required Capabilities
None
#include <aknfontaccess.h>
Public Types |
|
enum | TAknFontFamily { EAknFontFamilyNotSpecified = 0, EAknFontFamilySansSerif, EAknFontFamilySerif, EAknFontFamilyMonospace } |
Generic font family enumeration. More... |
|
Static Public Member Functions |
|
static IMPORT_C CFbsFont * | GetFont (CBitmapDevice &aBitmapDevice, const TFontStyle aFontStyle, TInt aFontSizeInTwips, TAknFontFamily aFontFamily) |
Returns a font that matches the metrics supplied. |
|
static IMPORT_C CFbsFont * | GetFont (CBitmapDevice &aBitmapDevice, const TFontStyle aFontStyle, TInt aFontSizeInTwips, const TDesC &aFontFamilyName) |
Returns a font that matches the metrics supplied. |
|
static IMPORT_C CFbsFont * | GetClosestFont (CBitmapDevice &aBitmapDevice, const TFontStyle aFontStyle, TInt aFontSizeInTwips, TAknFontFamily aFontFamily) |
Returns a font that matches the metrics supplied. |
|
static IMPORT_C CFbsFont * | GetClosestFont (CBitmapDevice &aBitmapDevice, const TFontStyle aFontStyle, TInt aFontSizeInTwips, const TDesC &aFontFamilyName) |
Returns a font that matches the metrics supplied. |
|
static IMPORT_C CAknLayoutFont * | CreateLayoutFontFromSpecificationL (CBitmapDevice &aBitmapDevice, const TAknFontSpecification &aSpec) |
Return a fully constructed CAknLayoutFont object based upon the specification passed in. |
|
static IMPORT_C CAknLayoutFont * | CreateLayoutFontFromSpecificationL (CBitmapDevice &aBitmapDevice, const TTypeface &aTypeface, const TAknFontSpecification &aSpec) |
Return a fully constructed CAknLayoutFont object based upon the typeface and specification passed in. |
|
Generic font family enumeration. These can be used in place of the family name descriptors |
|
Return a fully constructed CAknLayoutFont object based upon the typeface and specification passed in. The TTypeface object contains a typeface name that is used as the primary key to select a font. The Series 60 font specifiation object is also used, but any value of TAknFontCategory passed in is reset to EAknFontCategoryUndefined, and is not used to select the font. The font object is returned as non-const, since it is owned and will eventually be deleted by the client. This method can only be used for TAknFontSpecification objects that are stored in Pixels (See TAknFontSpecification::Units() )
|
|
Return a fully constructed CAknLayoutFont object based upon the specification passed in. The Avkon font specifiation object uses TAknFontCategory to determine the font. The font object is returned as non-const, since it is owned and will eventually be deleted by the client. This method can only be used for TAknFontSpecification objects that are stored in Pixels. (See TAknFontSpecification::Units() )
|
|
Returns a font that matches the metrics supplied. The provider can return a scaled or bitmap font as long as it meets the provided criteria. A best fit is used that is prioritized as follows: fontSize, fontStyle, fontFamily This will succeed as long as there is at least one font on the phone.
|
|
Returns a font that matches the metrics supplied. The provider can return a scaled or bitmap font as long as it meets the provided criteria. A best fit is used that is prioritized as follows: fontSize, fontStyle, fontFamily This will succeed as long as there is at least one font on the phone.
|
|
Returns a font that matches the metrics supplied. The provider can return a scaled or bitmap font as long as it meets the provided criteria. If an exact match isn't found than a null is returned.
|
|
Returns a font that matches the metrics supplied. The provider can return a scaled or bitmap font as long as it meets the provided criteria. If an exact match isn't found then a null is returned.
|