Hi,
Does anyone know where windows stores it's
font list? I would like to print a sample of each font on my PC, is there a program around that does this already?
int EnumFonts(
HDC hdc, // handle to DC
LPCTSTR lpFaceName, // font typeface name
FONTENUMPROC lpFontFunc, // callback function
LPARAM lParam // application-supplied data
);
the callback function has this prototype:
int CALLBACK EnumFontsProc(
CONST LOGFONT *lplf, // logical-font data
CONST TEXTMETRIC *lptm, // physical-font data
DWORD dwType, // font type
LPARAM lpData // application-defined data
);
To get a HDC use the GetDC API Function
Hope this helps, s-)
Blessed is he who in the name of justice and good will, shepards the week through the valley of darknees...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.