Partager via


IMLangFontLink interface

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

Members

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

  • Methods

Methods

The IMLangFontLink interface has these methods.

Method Description
GetFontCodePages

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

MapFont

Creates a font to output the characters from the given set of code pages.

ReleaseFont

Releases a font object created by the IMLangFontLink::MapFont method.

ResetFontMapping

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

 

Remarks

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. IMLangFontLink 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