FONT.CPP File Reference

Typedef ProcessFunc

typedef TBool (* ProcessFunc

const TTableEntry Table

const TTableEntry Table [static]

This table encodes the Unicode character ranges and the glyph selector classes to be used for each character range when processing characters into glyph clusters in CFont::GetCharacterPosition() . New glyph selection classes must make sure they are listed in this table to ensure they are invoked as required. A '0' iProcessFunc entry tells the algorithm to skip the character.

CharacterToProcessFunction(TInt)

GlyphSelection::ProcessFunc CharacterToProcessFunction ( TInt aChar )

Find appropriate processor function for the given character.

Parameters

TInt aChar Character for processing.

const TInt KTTypefaceBitsNumAttrib

const TInt KTTypefaceBitsNumAttrib [static]

const TInt KTTypefaceBitsNumScript

const TInt KTTypefaceBitsNumScript [static]

const TInt KTTypefaceMaskAttrib

const TInt KTTypefaceMaskAttrib [static]

const TInt KTTypefaceMaskScript

const TInt KTTypefaceMaskScript [static]

const TLitC< sizeof(L"0")/2 > KGdiZeroCharacter

const TLitC < sizeof(L"0")/2 > KGdiZeroCharacter [static]

BoundsExceeded(const CFont::TMeasureTextInput &, const TInt &, TInt &, TInt &)

TBool BoundsExceeded ( const CFont::TMeasureTextInput & aInput,
const TInt & aPenPos,
TInt & aBoundsBR,
TInt & aBoundsTL
) [static]

Checks to see if the pen position needs to be included in the bounds calculation for purposes of considering side-bearings in the line break point

Parameters

const CFont::TMeasureTextInput & aInput The input block. Contains the check flag and maxbounds.
const TInt & aPenPos The current value of the pen position.
TInt & aBoundsBR Bottom-right bounds value.
TInt & aBoundsTL Top-left bounds value.

HighSurrogate(TUint)

TUint16 HighSurrogate ( TUint aCode )

Parameters

TUint aCode

LowSurrogate(TUint)

TUint16 LowSurrogate ( TUint aCode )

Parameters

TUint aCode

CombineSurrogates(TUint, TUint)

TUint CombineSurrogates ( TUint aHighSurrogate,
TUint aLowSurrogate
)

Parameters

TUint aHighSurrogate
TUint aLowSurrogate

FindContextualProcessFunc(RShapeInfo &, const TGlyphSelectionState)

GlyphSelection::ProcessFunc FindContextualProcessFunc ( RShapeInfo & aShapeInfo,
const TGlyphSelectionState aGss
) [static]

Parameters

RShapeInfo & aShapeInfo
const TGlyphSelectionState aGss