Fonts

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Fonts

Post 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.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
dbmanfwh
Posts: 38
Joined: Tue Mar 04, 2008 3:44 pm
Location: Korea

Re: Fonts

Post 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
 
Post Reply