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: 42512
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: Function ChooseFont()
Surasak,
Please try to use AddFontResource( cFontName ) to add your own fonts before using them, thanks![Smile :-)](./images/smilies/icon_smile.gif)
Antonio
Please try to use AddFontResource( cFontName ) to add your own fonts before using them, thanks
![Smile :-)](./images/smilies/icon_smile.gif)
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: 42512
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 73 times
- Contact:
Re: Function ChooseFont()
Surasak,
Could you please try it with other fonts different from the Thai ones ? thanks![Smile :-)](./images/smilies/icon_smile.gif)
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
![Smile :-)](./images/smilies/icon_smile.gif)
Just to check if the problem comes from the font itself