Function ChooseFont()

Post Reply
Surasak
Posts: 28
Joined: Fri Jul 20, 2007 1:30 pm

Function ChooseFont()

Post by Surasak »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Function ChooseFont()

Post by Antonio Linares »

Surasak,

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

Antonio
regards, saludos

Antonio Linares
www.fivetechsoft.com
Surasak
Posts: 28
Joined: Fri Jul 20, 2007 1:30 pm

Re: Function ChooseFont()

Post by Surasak »

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()
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Function ChooseFont()

Post by Antonio Linares »

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