****************************************************************************
* rrd_gfx.c graphics wrapper for rrdtool
**************************************************************************/
****************************************************************************
* rrd_gfx.c graphics wrapper for rrdtool
**************************************************************************/
FT_Init_FreeType( &library );
error = FT_New_Face( library, font, 0, &face );
FT_Init_FreeType( &library );
error = FT_New_Face( library, font, 0, &face );
error = FT_Set_Char_Size(face, size*64,size*64, 100,100);
error = FT_Set_Char_Size(face, size*64,size*64, 100,100);
string = gfx_string_create( canvas, face, text, rotation, tabwidth, size );
text_width = string->width;
gfx_string_destroy(string);
string = gfx_string_create( canvas, face, text, rotation, tabwidth, size );
text_width = string->width;
gfx_string_destroy(string);