| |
|
|
 Sven Bader | there The Windows API function EnumFontFamiliesEx something unhandlich is, have I a Profan-Solution this built. it functions quick and reliably.
Cls
Declare fontList$'with of/ one global Variable must we The list only once Generate
Proc FontExists
Parameters font$
If (fontList$ = "")'Gibts already a list?
ClearList
AddFonts
fontList$ = "##" + lower$(MoveListToStr$("##")) + "##"
Endif
Return (InStr("##" + lower$(font$ )+ "##", fontList$) > 0)'only detailed hits, which of Separator locked in are
ENDPROC
Print "Arial Black: " + if(FontExists("Arial Black"), "existiert", "fehlt")
Print "Consolas: " + if(FontExists("Consolas"), "existiert", "fehlt")
Print "Courier New: " + if(FontExists("Courier New"), "existiert", "fehlt")
Print "qwertzuiop: " + if(FontExists("qwertzuiop"), "existiert", "fehlt")
Waitkey
End
|
|
|
| |
|
|
|
 Georg Teles | Nabend,
quite simply but genial 
for XProfan X4 then Move(... take 
Regards |
|
|
| |
|
|