网站首页  词典首页

请输入您要查询的函数:

 

术语 getfontlanguageinfo
释义 GetFontLanguageInfo
语法:
DWORD GetFontLanguageInfo(
__in HDC hdc
);
GetFontLanguageInfo功能
该GetFontLanguageInfo函数返回的信息显示上下文指定当前选定的字体。应用程序通常使用这些信息和功能的GetCharacterPlacement编写用于显示字符串。
参数
hdc [in]
处理到显示设备上下文。
返回值
返回值确定了当前选择的字体特征。该函数返回0,如果字体是“正常化”,可以作为一个简单的拉丁字体的待遇;它返回GCP_ERROR如果发生错误。否则,该函数返回下列值的组合。
ValueMeaning
GCP_DBCSThe DBCS的字符集。
GCP_DIACRITICThe字体/语言包含读音符号字形。
FLI_GLYPHSThe字体包含额外的字形一般不容易使用的代码页。使用GetCharacterPlacement访问字形。此值仅供参考,并不打算要传递给GetCharacterPlacement。
GCP_GLYPHSHAPEThe字体/语言每个代码包含多个字形点或每码点的组合(支持塑造和/或结扎),并带有先进的字体字形表,提供额外的形状额外的字形。如果此值指定,lpGlyphs数组必须使用与GetCharacterPlacement功能和ETO_GLYPHINDEX值必须被传递给函数的ExtTextOut字符串时绘制。
GCP_KASHIDAThe字体/语言许可证Kashidas。
GCP_LIGATEThe font/language contains ligation glyphs which can be substituted for specific character combinations.
GCP_USEKERNINGThe字体字距表包含一个可用于提供更好的字符和字形间距。
GCP_REORDERThe语言需要重新排序为displayfor例如,希伯来文或阿拉伯文。
返回值,当与FLI_MASK蒙面,可以直接传递到GetCharacterPlacement功能。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWingdi.h(头文件:winuser.h)
LibraryGdi32.lib
DLLGdi32.dll
参见
字体和文字概述
字体和文本函数
ExtTextOut
GetCharacterPlacement
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月11日
==英文原文==GetFontLanguageInfo Function
The GetFontLanguageInfo function returns information about the currently selected font for the specified display context. Applications typically use this information and the GetCharacterPlacement function to prepare a character string for display.
Syntax
DWORD GetFontLanguageInfo(
__in HDC hdc
);
Parameters
hdc [in]
Handle to a display device context.
Return Value
The return value identifies characteristics of the currently selected font. The function returns 0 if the font is "normalized" and can be treated as a simple Latin font; it returns GCP_ERROR if an error occurs. Otherwise, the function returns a combination of the following values.
ValueMeaning
GCP_DBCSThe character set is DBCS.
GCP_DIACRITICThe font/language contains diacritic glyphs.
FLI_GLYPHSThe font contains extra glyphs not normally accessible using the code page. Use GetCharacterPlacement to access the glyphs. This value is for information only and is not intended to be passed to GetCharacterPlacement.
GCP_GLYPHSHAPEThe font/language contains multiple glyphs per code point or per code point combination (supports shaping and/or ligation), and the font contains advanced glyph tables to provide extra glyphs for the extra shapes. If this value is specified, the lpGlyphs array must be used with the GetCharacterPlacement function and the ETO_GLYPHINDEX value must be passed to the ExtTextOut function when the string is drawn.
GCP_KASHIDAThe font/ language permits Kashidas.
GCP_LIGATEThe font/language contains ligation glyphs which can be substituted for specific character combinations.
GCP_USEKERNINGThe font contains a kerning table which can be used to provide better spacing between the characters and glyphs.
GCP_REORDERThe language requires reordering for displayfor example, Hebrew or Arabic.

The return value, when masked with FLI_MASK, can be passed directly to the GetCharacterPlacement function.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWingdi.h (include Windows.h)
LibraryGdi32.lib
DLLGdi32.dll
See Also
Fonts and Text Overview
Font and Text Functions
ExtTextOut
GetCharacterPlacement
Send comments about this topic to Microsoft
Build date: 7/11/2009
==原始网址==http://msdn.microsoft.com/en-us/library/dd144886(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:28:03