: 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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to