FONT CharSet Problem.

Post Reply
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

FONT CharSet Problem.

Post 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.
Regards,

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Hakan,

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

Antonio Linares
www.fivetechsoft.com
Horizon
Posts: 997
Joined: Fri May 23, 2008 1:33 pm

Post by Horizon »

Antonio,

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

Hakan ONEMLI

Harbour & VS 2019 & FWH 20.12
Post Reply