--- deliantra/Deliantra-Client/Client.xs 2006/04/09 00:06:51 1.6 +++ deliantra/Deliantra-Client/Client.xs 2006/04/09 00:09:50 1.7 @@ -37,7 +37,7 @@ RETVAL void -font_render (SV *text_, int height) +font_render (SV *text_, int height = 10) PPCODE: { STRLEN textlen; @@ -47,7 +47,7 @@ FT_Bitmap bitmap; PangoLayout *layout; PangoFontDescription *font = pango_context_get_font_description (context); - pango_font_description_set_absolute_size (font, 40 * PANGO_SCALE); + pango_font_description_set_absolute_size (font, height * PANGO_SCALE); layout = pango_layout_new (context); pango_layout_set_markup (layout, text, textlen);