The EnumFontFamExProc function is an application-supplied callback function that processes the fonts enumerated by the EnumFontFamiliesEx function. The system calls this callback function once for each enumerated font.
int CALLBACK EnumFontFamExProc(
ENUMLOGFONTEX *lpelfe, |
// pointer to logical-font data |
NEWTEXTMETRICEX *lpntme, |
// pointer to physical-font data |
int FontType, |
// type of font |
LPARAM lParam |
// application-defined data |
); |
Windows 95: The NEWTEXTMETRICEX structure is not implemented.
Use NEWTEXTMETRIC instead.
DEVICE_FONTTYPE
RASTER_FONTTYPE
TRUETYPE_FONTTYPE
The return value must be a nonzero value to continue enumeration; to stop enumeration, the return value must be zero.
Unlike the EnumFontFamProc callback function, EnumFontFamExProc receives extended information about a font. The ENUMLOGFONTEX structure includes the localized name of the script (character set) and the NEWTEXTMETRICEX structure includes a font-coverage signature.
EnumFontFamiliesEx, EnumFontFamProc, ENUMLOGFONTEX, NEWTEXTMETRICEX, TEXTMETRIC
file: /Techref/os/win/api/win32/func/src/f20_5.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/7 23:34,
3.15.192.196:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/os/win/api/win32/func/src/f20_5.htm"> EnumFontFamExProc</A> |
Did you find what you needed? |