MCPcopy Create free account
hub / github.com/ProgerXP/Notepad2e / EnumFontsProc

Function EnumFontsProc

src/Helpers.c:348–352  ·  view source on GitHub ↗

============================================================================= IsFontAvailable() Test if a certain font is installed on the system

Source from the content-addressed store, hash-verified

346// Test if a certain font is installed on the system
347//
348int CALLBACK EnumFontsProc ( CONST LOGFONT *plf, CONST TEXTMETRIC *ptm, DWORD FontType, LPARAM lParam )
349{
350 * ( ( PBOOL ) lParam ) = TRUE;
351 return ( FALSE );
352}
353
354BOOL IsFontAvailable ( LPCWSTR lpszFontName )
355{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected