|
The m17n Library 1.8.20
|
Type of information about a glyph. More...
#include <m17n-flt.h>
Data Fields | |
| int | c |
| unsigned int | code |
| int | from |
| int | to |
| int | xadv |
| int | yadv |
| int | ascent |
| int | xoff |
| unsigned | encoded: 1 |
| unsigned | measured: 1 |
| unsigned | adjusted: 1 |
| unsigned | internal: 30 |
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.
| int MFLTGlyph::c |
Character code (Unicode) of the glyph.
| unsigned int MFLTGlyph::code |
Glyph ID of the glyph in the font.
| int MFLTGlyph::from |
Starting index of the run in MFLTGlyphString that is replaced by this glyph.
| int MFLTGlyph::to |
Ending index of the run in MFLTGlyphString that is replaced by this glyph.
| int MFLTGlyph::xadv |
Advance width for horizontal layout expressed in 26.6 fractional pixel format.
| int MFLTGlyph::yadv |
Advance height for vertical layout expressed in 26.6 fractional pixel format.
| int MFLTGlyph::ascent |
Ink metrics of the glyph expressed in 26.6 fractional pixel format.
| int MFLTGlyph::xoff |
Horizontal and vertical adjustments for the glyph positioning expressed in 26.6 fractional pixel format.
| unsigned MFLTGlyph::encoded |
Flag to tell whether the member <code> has already been set to a glyph ID in the font.
| unsigned MFLTGlyph::measured |
Flag to tell if the metrics of the glyph (members <xadv> thru <rbearing>) are already calculated.
| 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.
| unsigned MFLTGlyph::internal |
For m17n-lib's internal use only.