Alexandre Simões submitted the following bug report on SF:
http://sourceforge.net/tracker/?func=detail&atid=100681&aid=2971427&group_id=681
--------
The function wvt_setfont is not correctly showing the characters of the source
visuallib.ttf the
function is being used thus:
Wvt_SetFont (\' VisualLib\' , 28,10, FW_NORMAL, 2)
The presented characters do not correspond the table of the source.
Harbour Version: svn 2.1.0dev (Rev. 14167)
Compiler Mingw : tdm-mingw-1.908.0-4.4.1-2
Os: Windows XP Professional SP3
Code:
FUNCTION IniciaJanela(nLi,nCi,nLf,nCf)
LOCAL oCrt
PUBLIC hWnd,;
cTituloJanela
DEFAULT nLi TO -4,;
nCi TO -4,;
nLf TO MaxRow(),;
nCf TO mAxCol()
oCrt := WvgCrt():New( , , { nLi,nCi }, { nLf,nCf}, , .t. )
oCrt:lModal := .F.
oCrt:icon := ''
oCrt:create()
oCrt:resizable :=.f. //80 X 28
hb_gtInfo( HB_GTI_SETFONT, { "VisualLib", 28,
10,HB_GTI_FONTW_NORMAL,HB_GTI_FONTQ_HIGH } )
cTituloJanela:=HB_OEMTOANSI("Teste com VisualLib | v2010.Mar‡o")
WVT_SetTitle(cTituloJanela)
WVT_SetAltF4Close(.F. )
HB_GtInfo( HB_GTI_SPEC, HB_GTS_WNDSTATE, HB_GTS_WS_MAXIMIZED )
hWnd:=HWG_FindWindow( ,cTituloJanela)
RETURN Nil
VisualLib.TTF: http://www.4shared.com/file/242548054/f325b885/VisualLib.html
--------
Can anyone help?
Chen.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour