FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FONT CharSet Problem.
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
FONT CharSet Problem.
Posted: Sun Sep 21, 2008 07:57 PM
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:
           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.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FONT CharSet Problem.
Posted: Sun Sep 21, 2008 09:04 PM

Hakan,

Many thanks for your very valuable information :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
FONT CharSet Problem.
Posted: Sun Sep 21, 2008 09:28 PM

Antonio,

Should I change the Font.prg every new version?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06

Continue the discussion