Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
|
|
||||||||
|
This is a top-level interface that implements a set of services to enable an application to utilize 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 this interface provides would help a client switch between the fonts needed 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. This interface is implemented in the MultiLanguage Object and derives from IMLangCodePages, which provides the foundation of the font linking function.
IMLangFontLink2 Methods
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. ReleaseFont Releases a font object created by the IMLangFontLink2::MapFont method. ResetFontMapping Clears the font cache that is used to store fonts created by IMLangFontLink2::MapFont.
Interface Information
Implementation MultiLanguage Object (Mlang.dll) Inherits from IUnknown Header and IDL files Mlang.h, Mlang.idl Minimum availability Internet Explorer 5 Minimum operating systems Windows 95, Windows NT 4.0
Does this content meet your programming needs? Write us!
© 1998 Microsoft Corporation. All rights reserved. Terms of use.