Type of information about a glyph.
More...
#include <m17n-flt.h>
Type of information about a glyph.
The type MFLTGlyph is the structure that contains information about a glyph. The members c and encoded are the members to be set appropriately before calling the functions mflt_find() and mflt_run(). And, if encoded is set to 1, the member code should also be set.
Character code (Unicode) of the glyph.
◆ code
unsigned int MFLTGlyph::code |
Glyph ID of the glyph in the font.
◆ from
Starting index of the run in MFLTGlyphString that is replaced by this glyph.
◆ to
◆ xadv
Advance width for horizontal layout expressed in 26.6 fractional pixel format.
◆ yadv
Advance height for vertical layout expressed in 26.6 fractional pixel format.
◆ ascent
Ink metrics of the glyph expressed in 26.6 fractional pixel format.
◆ descent
◆ lbearing
◆ rbearing
◆ xoff
Horizontal and vertical adjustments for the glyph positioning expressed in 26.6 fractional pixel format.
◆ yoff
◆ encoded
unsigned MFLTGlyph::encoded |
Flag to tell whether the member <code> has already been set to a glyph ID in the font.
◆ measured
unsigned MFLTGlyph::measured |
Flag to tell if the metrics of the glyph (members <xadv> thru <rbearing>) are already calculated.
◆ adjusted
unsigned MFLTGlyph::adjusted |
Flag to tell if the metrics of the glyph is adjusted, i.e. <xadv> or <yadv> is different from the normal size, or <xoff> or <yoff> is nonzero.
◆ internal
unsigned MFLTGlyph::internal |
For m17n-lib's internal use only.