MOpenFontLinkedTypefaceExtension Class Reference

class MOpenFontLinkedTypefaceExtension

Interface for handling, creating and modifying linked typefaces.

The creation method sends an object containing the entire linked typeface specification. In return, a pointer to an object conforming to COpenFontFile is returned. This can subsequently be handed as though it were a normal COpenFontFile.

Public Member Functions
voidCreateLinkedTypefaceL(const COpenFontLinkedTypefaceSpecification &, TFileName &)
voidGetLinkedTypefaceSpecificationL(const TFileName &, COpenFontLinkedTypefaceSpecification &)
voidLinkedTypefaceRequestExtendedInterface(TUid, TAny *&)
Private Member Functions
IMPORT_C voidReserved1()
IMPORT_C voidReserved2()
IMPORT_C voidReserved3()
IMPORT_C voidReserved4()
IMPORT_C voidReserved5()
IMPORT_C voidReserved6()
IMPORT_C voidReserved7()
IMPORT_C voidReserved8()

Member Functions Documentation

CreateLinkedTypefaceL(const COpenFontLinkedTypefaceSpecification &, TFileName &)

voidCreateLinkedTypefaceL(const COpenFontLinkedTypefaceSpecification &aLinkedTypefaceSpec,
TFileName &aFilename
)[pure virtual]

Create a linked typeface from the specification. A path and filename is provided to the rasterizer. For example "c:\linkedfonts\MyLinkedTypeface" the rasterizer should append the file extension e.g. ".ltf" to aFileName.

Parameters

const COpenFontLinkedTypefaceSpecification & aLinkedTypefaceSpecThe specification for the linked typeface
TFileName & aFilename

GetLinkedTypefaceSpecificationL(const TFileName &, COpenFontLinkedTypefaceSpecification &)

voidGetLinkedTypefaceSpecificationL(const TFileName &aFilename,
COpenFontLinkedTypefaceSpecification &aLinkedTypefaceSpec
)[pure virtual]

Get the specification of a linked typeface from the rasterizer.

The primary purpose of this function is to allow client side code to retrieve the existing defintion of a linked typeface, prior to making changes to it and resubmitting the revised definition to the rasterizer using UpdatelinkedTypeface().

MOpenFontLinkedTypefaceExtension::UpdatelinkedTypeface().

Parameters

const TFileName & aFilename
COpenFontLinkedTypefaceSpecification & aLinkedTypefaceSpecOn return will point to the specification of the existing linked typeface. Ownership of that specification object is transferred to the caller.

LinkedTypefaceRequestExtendedInterface(TUid, TAny *&)

voidLinkedTypefaceRequestExtendedInterface(TUidaUid,
TAny *&aParam
)[pure virtual]

To allow future extensions while maintaining BC.

Parameters

TUid aUid
TAny *& aParam

Reserved1()

IMPORT_C voidReserved1()[private, pure virtual]

Reserved2()

IMPORT_C voidReserved2()[private, pure virtual]

Reserved3()

IMPORT_C voidReserved3()[private, pure virtual]

Reserved4()

IMPORT_C voidReserved4()[private, pure virtual]

Reserved5()

IMPORT_C voidReserved5()[private, pure virtual]

Reserved6()

IMPORT_C voidReserved6()[private, pure virtual]

Reserved7()

IMPORT_C voidReserved7()[private, pure virtual]

Reserved8()

IMPORT_C voidReserved8()[private, pure virtual]