From: handa Date: Wed, 23 Jun 2004 05:37:53 +0000 (+0000) Subject: (struct MFontDriver): Delete arg C of encode_char. X-Git-Tag: withdl~40 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4296bd3d5a6311b5c6074c30c13ba57a1375f27e;p=m17n%2Fm17n-lib.git (struct MFontDriver): Delete arg C of encode_char. (mfont__encodable_p): Delete extern. --- diff --git a/src/font.h b/src/font.h index 1782b3a..06b54b8 100644 --- a/src/font.h +++ b/src/font.h @@ -170,10 +170,10 @@ struct MFontDriver void (*find_metric) (MRealizedFont *rfont, MGlyphString *gstring, int from, int to); - /** Encode C into the glyph code the font. CODE is a code point of - C in rfont->encoder->encoding_charset. If the font has no glyph - for C, return MCHAR_INVALID_CODE. */ - unsigned (*encode_char) (MRealizedFont *rfont, int c, unsigned code); + /** Encode CODE into a glyph code the font. CODE is a code point of + a character in rfont->encoder->encoding_charset. If the font + has no glyph for CODE, return MCHAR_INVALID_CODE. */ + unsigned (*encode_char) (MRealizedFont *rfont, unsigned code); /** Draw glyphs from FROM to TO (exclusive) on window WIN of FRAME at coordinate (X, Y) relative to WIN. */ @@ -246,9 +246,6 @@ extern MSymbol mfont__set_spec_from_plist (MFont *spec, MPlist *plist); extern void mfont__resize (MFont *spec, MFont *request); -extern int mfont__encodable_p (MRealizedFont *rfont, MSymbol layouter_name, - int c); - extern unsigned mfont__encode_char (MRealizedFont *rfont, int c); extern MRealizedFont *mfont__select (MFrame *frame, MFont *spec,