Chen Kedem wrote:
> 
> 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
> 

The question pertains to GTWVG, GTWVT does not support 
an array to HB_GTI_SETFONT.  Also WvgCrt() is a class in GTWVG.

GTWVG just sets the font parameters to font structure and then WAPI 
handles the stuff. Here is very little we can help. If some screen-shot is 
made available only then I can guess. I cannot load .ttf on my machine
anyway.





-----
                 enjoy hbIDEing...
                    Pritpal Bedi 
_a_student_of_software_analysis_&_design_
-- 
View this message in context: 
http://n2.nabble.com/SF-bug-tracker-2971427-Function-WVT-SETFONT-tp4745863p4746039.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to