nanogui: Not able to change the size of text data ....


Previous by date: 24 Jan 2008 21:08:04 -0000 Re: [PATCH 6/6] [neuros]transparency copyarea support and fblin16 optimization, Greg Haerr
Next by date: 24 Jan 2008 21:08:04 -0000 Re: How to improve the efficiency of the NanoX draw?, Aaron J. Grier
Previous in thread: 24 Jan 2008 21:08:04 -0000 Not able to change the size of text data ...., Misbahullah Khan
Next in thread:

Subject: Re: [nanogui] Not able to change the size of text data ....
From: "Greg Haerr" ####@####.####
Date: 24 Jan 2008 21:08:04 -0000
Message-Id: <0f3f01c85ecd$313654d0$0300a8c0@RDP>

: fontid = GrCreateFont("times.ttf",15,0)                 // " arial.ttf" 
: fontid = GrCreateFont(GR_FONT_SYSTEM_FIXED,15,0)
: fontid = GrCreateFont(GR_FONT_SYSTEM_VAR,15,0) 

Only times.ttf font will accept variable sizes, the others
won't work, as they are fixed bitmaps.

Make sure you have the times.ttf file in the path
specified in your config file:

FREETYPE_FONT_DIR        = "fonts/truetype"

You might want to use an absolute path here if your
application changes directories.


: GrSetFont(fontid,15) // value from 0 to 100 didnt made any difference 

I'm not sure about this, as there is no GrSetFont api.  Do 
you mean GrSetFontSize?

Regards,

Greg

Previous by date: 24 Jan 2008 21:08:04 -0000 Re: [PATCH 6/6] [neuros]transparency copyarea support and fblin16 optimization, Greg Haerr
Next by date: 24 Jan 2008 21:08:04 -0000 Re: How to improve the efficiency of the NanoX draw?, Aaron J. Grier
Previous in thread: 24 Jan 2008 21:08:04 -0000 Not able to change the size of text data ...., Misbahullah Khan
Next in thread:


Powered by ezmlm-browse 0.20.