Page 1 of 1

FONT CharSet Problem.

Posted: Sun Sep 21, 2008 7:57 pm
by Horizon
Hi,

My native language is Turkish. Most of installed fonts in my OS (Vista SP1) supports Turkish. I use "Verdana" Font. When I start to use "Verdana" font, Some classes doesn't display the my native Turkish characters. I noticed that when I define font, I though there is something wrong with CharSet. I wrote the oFont:nCharSet := 1 after when I define the fonts. It really works. But some classes continue to write the wrong charset. When I look the classes (for example xbrowse, msgbar), I realized that these classes has DEFINE FONT description.

This is the Font problem. I have changed the default variable nCharSet := 1 like below in Font.prg.

Line 97:

Code: Select all

           lStrikeOut := .f., nCharSet := 1, nOutPrecision := 0,;
and I have NO PROBLEM. All of classes that I used and tested can write now my native language character Set.

I wonder if anyone suffer from this problem like me. I think This is the SOLUTION.

Posted: Sun Sep 21, 2008 9:04 pm
by Antonio Linares
Hakan,

Many thanks for your very valuable information :-)

Posted: Sun Sep 21, 2008 9:28 pm
by Horizon
Antonio,

Should I change the Font.prg every new version?