FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Function ChooseFont()
Posts: 36
Joined: Fri Jul 20, 2007 01:30 PM
Function ChooseFont()
Posted: Fri Jul 08, 2011 09:42 AM

I cannot use some command and function for example ChooseFont and INI
I try to display thai font by add Thai TrueType Font and use command define font but not work
When I use function ChooseFont() to make array variable for define font but ChooseFont not activate anything and not any error message

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Function ChooseFont()
Posted: Mon Jul 11, 2011 10:43 AM

Surasak,

Please try to use AddFontResource( cFontName ) to add your own fonts before using them, thanks :-)

Antonio

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 36
Joined: Fri Jul 20, 2007 01:30 PM
Re: Function ChooseFont()
Posted: Wed Jul 13, 2011 09:50 AM

I try to use AddFontResource() and return=1 but no any effect with thai true type font but normal english font is OK without using AddFontResource()

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Function ChooseFont()
Posted: Fri Jul 15, 2011 01:12 PM

Surasak,

Could you please try it with other fonts different from the Thai ones ? thanks :-)

Just to check if the problem comes from the font itself

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion