Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for the existance of a font
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00172820
Message ID:
00172831
Views:
24
>I have VFP6 applications that require custom fonts. What is an easy way to test for the existance of an installed font?

Just a quick idea: you may get the list of font files from \WINDOWS\FONTS directory with ADIR() function. Of course, it does not tell you that all the listed fonts actually installed in Windows (it is usually so). Probably some API function can tell you exactly what you want.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform