Main Page   Modules   Data Structures   Globals   Appendix  

MFLTGlyph Struct Reference
[FLT API]

Type of information about a glyph. More...


Data Fields

int c
unsigned int code
int from
int to
int xadv
int yadv
int ascent
int descent
int lbearing
int rbearing
int xoff
int yoff
unsigned encoded: 1
unsigned measured: 1
unsigned adjusted: 1


Detailed Description

Type of information about a glyph.

The type MFLTGlyph is the structure that contains information about a glyph.


Field Documentation

Character code (Unicode) of the glyph. This is the sole member to be set before calling the functions mflt_find() and mflt_run().

unsigned int MFLTGlyph::code

Glyph ID of the glyph in the font.

Starting index of the run in MFLTGlyphString that is replaced by this glyph.

Ending index of the run in MFLTGlyphString that is replaced by this glyph.

Advance width for horizontal layout expressed in 26.6 fractional pixel format.

Advance height for vertical layout expressed in 26.6 fractional pixel format.

Ink metrics of the glyph expressed in 26.6 fractional pixel format.

Horizontal and vertical adjustments for the glyph positioning expressed in 26.6 fractional pixel format.

Flag to tell whether the member <code> has already been set to a glyph ID in the font.

Flag to tell if the metrics of the glyph (members <xadv> thru <rbearing>) are already calculated.

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.


Top of this page

Main Page   Modules   Data Structures   Globals   Appendix  

mulemark