nageswaragunupudi wrote:nageswaragunupudi wrote:Maybe your font set is problem?
Can you please clarify how to define fonts choosing Turkish Charset?
Got it, using CHARSET 162.
With this font definition I am able to see Turkish fonts for the above ASCII codes correctly
- Code: Select all Expand view RUN
DEFINE FONT oFont NAME "Segoe UI" SIZE 0,-16 CHARSET 162
Is this the right way?
Hi Mr. Rao,
I'm sorry for being late in replying.
I don't know CHARSET 162 using to define Turkish Charset. I have started a few thread since 15 years.
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=12805&p=64949&hilit=d+default+charset+1&sid=54dfaf7858789882cd774ada3bea5028&sid=54dfaf7858789882cd774ada3bea5028#p64949
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=13810&hilit=d+default+charset+1&sid=54dfaf7858789882cd774ada3bea5028
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=14142&p=233011&hilit=d_DEFAULT_CHARSET_%3D1&sid=54dfaf7858789882cd774ada3bea5028&sid=54dfaf7858789882cd774ada3bea5028#p233011
but I use this method to define Turkish Charset. I have a line in my make file like below
- Code: Select all Expand view RUN
- $(OBJDIR)\font.c : $(FWDIR)\source\classes\font.prg
$(HBDIR)\bin\harbour $(FWDIR)\source\classes\font.prg /n \
/i$(FWDIR)\include;$(HBDIR)\include /d_DEFAULT_CHARSET_=1 /o$(OBJDIR)\font.c
- Code: Select all Expand view RUN
- REQUEST HB_CODEPAGE_TRWIN
function Main()
HB_CDPSELECT( "TRWIN" )
...
return
Every time the fwh version is renewed, I delete all obj files and renew it again. I was able to solve the font problem only this way. I often "Verdana" font in my application defining like below as usual.
- Code: Select all Expand view RUN
- DEFINE FONT oMyFnt NAME "Verdana" SIZE 0, -12
If there was a font definition problem, I should not have seen the Turkish characters previously entered in the TGet fields. However, I can see the previously entered Turkish character data. Only when I type Turkish characters on the keyboard while entering data, a question mark appears.
I should also say that there is no Turkish entry problem in GET MEMO fields.