| 2649 | // on the system, and compare them to the font being searched for. |
| 2650 | |
| 2651 | static 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 | |
| 2665 | flag FEnsureFontInstalled(int fi) |
| 2666 | { |
nothing calls this directly
no outgoing calls
no test coverage detected