6 struct RrFont *RrFontOpen(struct RrInstance *inst, const char *fontstring)
10 font = malloc(sizeof(struct RrFont));
12 font->font = GlftFontOpen(RrDisplay(inst), RrScreen(inst), fontstring);
16 void RrFontClose(struct RrFont *font)
19 GlftFontClose(font->font);
24 int RrFontMeasureString(struct RrFont *font, const char *string)
29 int RrFontHeight(struct RrFont *font)
31 return GlftFontHeight(font->font);
34 int RrFontMaxCharWidth(struct RrFont *font)