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/23 12:44,
18.117.158.124:LOG IN
|
©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://sxlist.com/techref/os/win/api/win32/func/src/f20_5.htm"> EnumFontFamExProc</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.