FONT CharSet Problem.

FONT CharSet Problem.

Postby Horizon » Sun Sep 21, 2008 7: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:
Code: Select all  Expand view
           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.04
Horizon
 
Posts: 1301
Joined: Fri May 23, 2008 1:33 pm

Postby Antonio Linares » Sun Sep 21, 2008 9:04 pm

Hakan,

Many thanks for your very valuable information :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41858
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Horizon » Sun Sep 21, 2008 9:28 pm

Antonio,

Should I change the Font.prg every new version?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1301
Joined: Fri May 23, 2008 1:33 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 35 guests