Data Fields | |
int | glyph_code |
int | x_advance |
int | y_advance |
int | x_off |
int | y_off |
int | lbearing |
int | rbearing |
int | ascent |
int | descent |
MFont * | font |
MSymbol | font_type |
void * | fontp |
int | from |
int | to |
The type MDrawGlyph is the structure that contains information about a glyph metric and font. It is used by the function mdraw_glyph_list().
int MDrawGlyph::from |
Character range corresponding to the glyph.
int MDrawGlyph::to |
Font glyph code of the glyph.
Logical width of the glyph. Nominal distance to the next glyph.
Logical height of the glyph. Nominal distance to the next glyph.
X offset relative to the glyph position.
Y offset relative to the glyph position.
Metric of the glyph (left-bearing).
Metric of the glyph (right-bearing).
Metric of the glyph (ascent).
Metric of the glyph (descent).
Font used for the glyph. Set to NULL if no font is found for the glyph.
Type of the font. One of Mx, Mfreetype, Mxft.
void* MDrawGlyph::fontp |
Pointer to the font structure. The actual type is (XFontStruct *) if <font_type> member is Mx, FT_Face if <font_type> member is Mfreetype, and (XftFont *) if <font_type> member is Mxft.