Question about fonts

Question about fonts

Postby driessen » Fri May 04, 2018 12:10 pm

Hello,

How can I check in FWH whether a certain font is installed on my PC?
How can I install a font on my PC in FWH?

Thanks a lot 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: Question about fonts

Postby AntoninoP » Fri May 04, 2018 2:30 pm

I am not sure for installing, about the list of installed font, some time ago, posted a code http://forums.fivetechsupport.com/viewtopic.php?f=3&t=35320&p=210260&hilit=haru#p210290 that shows them all
AntoninoP
 
Posts: 375
Joined: Tue Feb 10, 2015 9:48 am
Location: Albenga, Italy

Re: Question about fonts

Postby Enrico Maria Giordano » Fri May 04, 2018 8:01 pm

You can use a font without install it:

Code: Select all  Expand view  RUN
ADDFONTRESOURCE( "Myfont.ttf" )

REMOVEFONTRESOURCE( "Myfont.ttf" )


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8719
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Question about fonts

Postby nageswaragunupudi » Sat May 05, 2018 2:28 am

You can also use
Code: Select all  Expand view  RUN
aFonts := GETFONTNAMES( hDC := GetDC( 0 ) )
ReleaseDC( 0, hDC )
XBROWSER aFonts AUTOSORT
 

The functions GETFONTNAMES(), ADDFONTRESOURCE(), REMOVEFONTRESOURCE() are provided by FWH.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10662
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 51 guests