I want to check if a font is present in windows.
But, according the help file, in windows if a font is not present, another font is loaded.
How, can I check then if a specific font is present or not?
(this code propably checks if any font is loaded only...)
Code: Select all
If IsFont(LoadFont(#PB_Any, "Tahoma", 8)) = #False
Debug "ouch"
Else
Debug Font = LoadFont(#PB_Any, "Tahoma", 8)
EndIf