search for: enumfunc1

Displaying 1 result from an estimated 1 matches for "enumfunc1".

2011 Aug 08
1
Register fonts in Wine
...any new font in Wine. I tried it with winetricks, with running arial32.exe, with copying files to different directories. But when I try to list all fonts in my program just like that, I only get the only same result This is my code(midified XPDF-code): Code: EnumFonts(dc, NULL, &WinFontList::enumFunc1, (LPARAM)this); int CALLBACK WinFontList::enumFunc1(CONST LOGFONT *font, CONST TEXTMETRIC *metrics, DWORD type, LPARAM data) { WinFontList *fl = (WinFontList *)data; printf("Font %s\n", font->lfFaceName); return 1; }