다음을 통해 공유


IMLangFontLink (Windows CE 5.0)

Send Feedback

This interface implements a set of services that enable an application to use font linking. This interface inherits from the IMLangCodePages interface. The IMlangFontLink2 interface subsumes this interface and adds methods that support scripting. This interface is not supported on all Windows CE-based operating systems. See the SDK documentation specific to your target device to see whether this functionality is supported.

Methods

The following table shows the methods for this interface in alphabetical order. Like all COM interfaces, this interface inherits the methods for the IUnknown interface.

Method Description
GetFontCodePages Retrieves the set of code pages whose characters can be output by the given 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 created by the IMLangFontLink::MapFont method.

Remarks

This interface enables an application to use font linking. Font linking is a term used to describe 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 are not likely included in a single font. The services provided by this interface would allow a client to switch between a Hebrew font and a Japanese font to output a string containing characters from both languages. The IMLangFontLink interface does this by creating custom fonts and providing an underlying font cache in the implementation.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Mlang.h, Mlang.idl.
Link Library: Mlang.dll.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.