From 2835d71c2256ae4ea00f50bcec5a72ce6ef1f124 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 6 Sep 2007 04:04:28 +0000 Subject: [PATCH] (mflt_get): Extern it. --- src/m17n-flt.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/m17n-flt.h b/src/m17n-flt.h index ecbd084..0be2159 100644 --- a/src/m17n-flt.h +++ b/src/m17n-flt.h @@ -51,19 +51,19 @@ extern void m17n_fini_flt (void); @brief Type of information about a glyph. The type #MFLTGlyph is the structure that contains information - about a glyph. It is used as an argument to mflt_run (). */ + about a glyph. */ typedef struct _MFLTGlyph MFLTGlyph; struct _MFLTGlyph { /***en Character code (Unicode) of the glyph. This is the sole - member to be set before calling the function mflt_run (). */ + member to be set before calling the functions mflt_find () and + mflt_run (). */ int c; /***en Glyph-id of the font of the glyph. */ unsigned int code; - /***en Glyph indices indicating to which original glyphs the glyph - corresonds. */ + /***en Glyph indices indicating the range of original glyphs. */ int from, to; /***en Ink metrics of the glyph expressed in 26.6 fractional pixel format. */ @@ -111,26 +111,24 @@ struct _MFLTGlyphAdjustment @brief Type of information about a glyph sequence. The type #MFLTGlyphString is the structure that contains - information about a sequence of glyphs. It is used as an argument - to the callback function #drive_otf of #MFLTFont. */ + information about a sequence of glyphs. */ typedef struct _MFLTGlyphString MFLTGlyphString; struct _MFLTGlyphString { /***en The actual byte size of elements of the array pointed by the - member #glyphs. */ + member #glyphs. It must be greater than "sizeof (MFLTGlyph)". */ int glyph_size; - /***en Array of glyphs. The byte size of elements may be bigger - than the byte size of the type #MFLTGlyph. */ + /***en Array of glyphs. */ MFLTGlyph *glyphs; - /***en Memory for how many elements is allocated in #glyphs. */ + /***en How many elements are allocated in #glyphs. */ int allocated; /***en How many elements in #glyphs are in use. */ int used; - /***en Script tag. */ + /***en OTF Script tag. Zero means */ unsigned int script; - /***en Langsys tag. */ + /***en OTF Langsys tag. */ unsigned int langsys; }; @@ -175,6 +173,8 @@ struct _MFLTFont typedef struct _MFLT MFLT; +extern MFLT *mflt_get (char *name); + extern MFLT *mflt_find (MFLTGlyphString *gstring, int pos, MFLTFont *font); extern MCharTable *mflt_coverage (MFLT *flt); -- 1.7.10.4