Page 1 of 1

Fonts

Posted: Wed Apr 06, 2016 8:14 am
by driessen
Hello,

Is there a way in FWH to check if a font is installed or not?
If a font is not installed, how can I install it in FWH?

Thanks a lot in advance for any help.

Re: Fonts

Posted: Wed Apr 06, 2016 10:31 am
by dbmanfwh
Michel,

I,m using.

Code: Select all

 
LOCAL hDc      := GetDc(0)
LOCAL aFonts   := GetFontNames(hDc)
LOCAL cFont    := "Arial"

      ReleaseDc(0, hDc)

       IF ASCAN(aFonts, cFont ) <> 0
           WinExec( "control fonts")
        ENDIF