MDrawGlyph Struct Reference
[Drawing]

Type of information about a glyph metric and font. More...


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
MFontfont
MSymbol font_type
void * fontp
int from
int to


Detailed Description

Type of information about a glyph metric and font.

The type MDrawGlyph is the structure that contains information about a glyph metric and font. It is used by the function mdraw_glyph_list().


Field Documentation

Character range corresponding to the glyph.

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.

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.


m17n-lib Home