Fonts

Fonts

Postby driessen » Wed Apr 06, 2016 8:14 am

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. 24.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Fonts

Postby dbmanfwh » Wed Apr 06, 2016 10:31 am

Michel,

I,m using.

Code: Select all  Expand view

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

      ReleaseDc(0, hDc)

       IF ASCAN(aFonts, cFont ) <> 0
           WinExec( "control fonts")
        ENDIF
 
dbmanfwh
 
Posts: 38
Joined: Tue Mar 04, 2008 3:44 pm
Location: Korea


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 104 guests