Page 1 of 1

Function ChooseFont()

Posted: Fri Jul 08, 2011 9:42 am
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

Re: Function ChooseFont()

Posted: Mon Jul 11, 2011 10:43 am
by Antonio Linares
Surasak,

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

Antonio

Re: Function ChooseFont()

Posted: Wed Jul 13, 2011 9:50 am
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()

Re: Function ChooseFont()

Posted: Fri Jul 15, 2011 1:12 pm
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