Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The IMLangFontLink2 interface implements a set of services that enable an application to use font linking. It inherits from the IMLangCodePagesinterface and subsumes the IMlangFontLinkinterface. This interface is not supported on all Windows Mobile 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. Like all COM interfaces, this interface inherits the methods of the IUnknowninterface.

Method Description

CodePageToScriptID

Retrieves the script identifier associated with a code page.

GetFontCodePages

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

GetFontUnicodeRanges

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

GetScriptFontInfo

Retrieves 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 code page.

ReleaseFont

Releases a font object created by the IMLangFontLink2::MapFontmethod.

ResetFontMapping

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

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 IMLangFontLink2interface does this by creating custom fonts and providing an underlying font cache in the implementation.

Requirements

Header mlang.h, mlang.idl
Library mlang.dll
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.