From: handa Date: Mon, 5 Oct 2009 08:11:22 +0000 (+0000) Subject: (struct MRealizedFont): New member id. X-Git-Tag: merge-to-XML~65 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f623466ccccedd909813abdecaff8079dd7af48;p=m17n%2Fm17n-lib.git (struct MRealizedFont): New member id. (struct MFontDriver): New member iterate_otf_feature. --- diff --git a/src/font.h b/src/font.h index 4d4318f..3502402 100644 --- a/src/font.h +++ b/src/font.h @@ -140,6 +140,9 @@ struct MRealizedFont so that this object can be distingushed from MFont. */ MFont spec; + /* Font identifier. */ + MSymbol id; + /* Frame on which the font is realized. */ MFrame *frame; @@ -240,6 +243,9 @@ struct MFontDriver int (*drive_otf) (MFLTFont *font, MFLTOtfSpec *spec, MFLTGlyphString *in, int from, int to, MFLTGlyphString *out, MFLTGlyphAdjustment *adjustment); + + int (*iterate_otf_feature) (struct _MFLTFont *font, MFLTOtfSpec *spec, + int from, int to, unsigned char *table); }; /** Initialize the members of FONT. */