MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / EnumFontFamExProc

Function EnumFontFamExProc

wdriver.cpp:2651–2663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2649// on the system, and compare them to the font being searched for.
2650
2651static int CALLBACK EnumFontFamExProc(ENUMLOGFONTEX *pelf,
2652 NEWTEXTMETRICEX *pntm, int nFontType, LPARAM lParam)
2653{
2654 CONST char *szFont = (char *)&pelf->elfFullName;
2655 int i;
2656
2657 for (i = 0; i < cFont; i++)
2658 if (FEqSz(szFont, rgszFontName[i])) {
2659 rgfFontInstalled[i] = fTrue;
2660 break;
2661 }
2662 return 1; // Continue enumerating fonts
2663}
2664
2665flag FEnsureFontInstalled(int fi)
2666{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected