Condividi tramite


IMLangFontLink2 interface

Implements a set of services that allow an application to use font linking.

Members

The IMLangFontLink2 interface inherits from the IUnknown interface. IMLangFontLink2 also has these types of members:

  • Methods

Methods

The IMLangFontLink2 interface has these methods.

Method Description
CodePageToScriptID

Gets the script identifier associated with a code page.

GetFontCodePages

Gets the set of code pages whose characters can be output by the specified font on the given device context.

GetFontUnicodeRanges

Gets information about which Unicode characters are supported by a font.

GetScriptFontInfo

Gets the font information for the specified script.

MapFont

Creates a font to output the characters from the given set of code pages or to output a character not found in a codepage.

ReleaseFont

Releases a font object that is created by the IMLangFontLink2::MapFont method.

ResetFontMapping

Clears the font cache that is used to store fonts created by IMLangFontLink2::MapFont.

 

Remarks

Like the IMLangFontLink interface, this interface allows an application to use font linking. Font linking describes the process of automatic font switching, based on the character code values of the text stream to be rendered. For example, characters for Hebrew and Japanese typically are not included in a single font. The services provided by this interface allow a client to switch between a Hebrew font and a Japanese font to output a string containing characters from both languages. IMLangFontLink2 does this by creating custom fonts and providing an underlying font cache in the implementation.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll