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
Function ChooseFont()
- Antonio Linares
- Site Admin
- Posts: 37485
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Function ChooseFont()
Surasak,
Please try to use AddFontResource( cFontName ) to add your own fonts before using them, thanks
Antonio
Please try to use AddFontResource( cFontName ) to add your own fonts before using them, thanks

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