You may need to take a look at the topics below before you can understand me.
http://forums.fivetechsupport.com/viewt ... 129#p71129
http://forums.fivetechsupport.com/viewt ... hilit=font
http://forums.fivetechsupport.com/viewt ... hilit=font
In summary, in order to see the Turkish character set in my application, the nCharSet variable in font.prg must be 1.
In every fwh version, I compile font.prg as below and add it to my own application.
Code: Select all
$(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
#ifdef __XPP__
#undef New
#endif
#ifdef _DEFAULT_CHARSET_
DEFAULT nCharSet := _DEFAULT_CHARSET_
#endif
DEFAULT cFaceName := "SYSTEM_FONT", nEscapement := 0, nOrientation := 0, nWeight := 0,;
nHeight := 14, lItalic := .f., lFromUser := .f., lUnderLine := .f.,;
lStrikeOut := .f., nCharSet := 0, nOutPrecision := 0,;
nClipPrecision := 0, nQuality := 0, lBold := .f., nWidth := 0,;
nPitchFamily := 0, ::nCount := 0, ::lDestroy := .t., aFonts := {}