This enumeration holds the possible panic codes that may be raised by the TextBase API on detecting an unrecoverable error.
Enumerator | Value | Description |
---|---|---|
ETextBasePanic_Unknown | 0 |
Not used |
ETextBasePanic_InvalidInputParam | 1 |
One or more of the input parameters to the interface were invalid |
ETextBasePanic_OutOfText | 2 |
Insufficient text for successful completion of the method |
ETextBasePanic_Invariant | 3 |
Internal failure. |
ETextBasePanic_Reserved1 | 4 |
Reserved panic codes. Not to be used. |
ETextBasePanic_Reserved2 | 5 | |
ETextBasePanic_TypefaceNameOverflow | 6 |
Setting a typeface name that is too long |
Font posture flags. Fonts can be either upright or italic.
Enumerator | Value | Description |
---|---|---|
EPostureUpright |
Font posture is normal (upright). | |
EPostureItalic |
Font posture is italic. |
Font stroke weight flags.
Enumerator | Value | Description |
---|---|---|
EStrokeWeightNormal |
Font stroke weight is normal. | |
EStrokeWeightBold |
Font stroke weight is bold. |
Font print position flags. Fonts can be normal, superscript or subscript.
Enumerator | Value | Description |
---|---|---|
EPrintPosNormal |
Font is normal. | |
EPrintPosSuperscript |
Font is superscript. | |
EPrintPosSubscript |
Font is subscript. |
const TInt | KMaxTypefaceNameLength |
The maximum length of a typeface name (in characters).
const TInt | KMaxStyleNameLength |
An enumerated type for the format of a glyph bitmap. This type is currently used to indicate whether glyph bitmaps for scalable fonts are drawn anti-aliased. Additional values may be defined in the future.
See also: TFontStyle::SetBitmapType() CFbsTypefaceStore::SetDefaultBitmapType()
Enumerator | Value | Description |
---|---|---|
EDefaultGlyphBitmap | 0 |
The font store's default glyph bitmap format is used. |
EMonochromeGlyphBitmap |
The standard monochrome format: no anti-aliasing, 1 bit per pixel, run-length encoded. | |
EAntiAliasedGlyphBitmap |
Standard 8-bits-per-pixel with anti-aliasing. | |
ESubPixelGlyphBitmap |
The format used when sub-pixel font rendering is used. | |
EFourColourBlendGlyphBitmap |
The format used when outline and shadow font rendering is used. If the raterizer supports the outline and shadow fonts, it will set the bitmaptype as EFourColourBlendGlyphBitmap but only when glyph bitmap type is set as EAntiAliasedGlyphBitmap and when any of the EDropShadow or EOutline effect is on. Only rasterizer providers can use this enum. | |
EGlyphBitmapTypeNotDefined |
This is used for glyphs, and not fonts, and is needed to inform the font drawing routines that the character should be drawn using the overall font setting. For Internal Use Only. | |
EAntiAliasedOrMonochromeGlyphBitmap |
This is used to inform the rasterizer that the best match should be found for the bitmap type based upon its knowledge. For Internal Use Only. | |
EFourColourBlendGlyphBitmapMono |
The format used when outline and shadow font rendering is used. If the raterizer supports the outline and shadow fonts and EFourColourBlendGlyphBitmapMono is set, it will get regular monochrome bitmap. |
const TInt | KSuperSubScalingPercentage |
The percentage used to multiply a normal font height when calculating its superscript or subscript height.
const TInt | KSuperscriptOffsetPercentage |
The percentage of a font height used to calculate its baseline offset for a superscript print position.
const TInt | KSubscriptOffsetPercentage |
The percentage of a font height used to calculate its baseline offset for a subscript print position.
const TUid | KFontCapitalAscent |
WARNING: this Class is for internal use ONLY. Compatibility is not guaranteed in future releases. UIDs corresponding to the CFont API extension functions