Data Structures | |
| struct | MFLTGlyph |
| Type of information about a glyph. More... | |
| struct | MFLTGlyphAdjustment |
| Type of information about a glyph position adjustment. More... | |
| struct | MFLTGlyphString |
| Type of information about a glyph sequence. More... | |
| struct | MFLTOtfSpec |
| Type of specification of GSUB and GPOS OpenType tables. More... | |
| struct | MFLTFont |
| Type of font to be used by the FLT driver. More... | |
Typedefs | |
| typedef struct _MFLT | MFLT |
| Type of FLT (Font Layout Table). | |
Functions | |
| MFLT * | mflt_get (MSymbol name) |
| Return an FLT object that has a specified name. | |
| MFLT * | mflt_find (int c, MFLTFont *font) |
| Find an FLT suitable for the specified character and font. | |
| const char * | mflt_name (MFLT *flt) |
| Return the name of an FLT. | |
| MCharTable * | mflt_coverage (MFLT *flt) |
| Return a coverage of a FLT. | |
| int | mflt_run (MFLTGlyphString *gstring, int from, int to, MFLTFont *font, MFLT *flt) |
| Layout characters with an FLT. | |
| void | mdebug_dump_flt (MFLT *flt, int indent) |
| typedef struct _MFLT MFLT |
The type MFLT is for an FLT object. Its internal structure is concealed from application programs.
The mflt_get() function returns an FLT object whose name is name.
NULL. The mflt_find() function returns the most appropriate FLT for layouting character c with font font.
NULL. | const char * mflt_name | ( | MFLT * | flt | ) |
The mflt_name() function returns the name of flt.
| MCharTable * mflt_coverage | ( | MFLT * | flt | ) |
The mflt_coverage() function returns a char-table that contains nonzero values for characters supported by flt.
| int mflt_run | ( | MFLTGlyphString * | gstring, | |
| int | from, | |||
| int | to, | |||
| MFLTFont * | font, | |||
| MFLT * | flt | |||
| ) |
The mflt_run() function layouts characters in gstring between from (inclusive) and to (exclusive) with font. If flt is nonzero, it is used for all the charaters. Otherwise, appropriate FLTs are automatically chosen.
| >=0 | The operation was successful. The value is the index to the glyph, which was previously indexed by to, in gstring->glyphs. | |
| -2 | gstring->glyphs is too short to store the result. The caller can call this fucntion again with a longer gstring->glyphs. | |
| -1 | Some other error occurred. |
| void mdebug_dump_flt | ( | MFLT * | flt, | |
| int | indent | |||
| ) |