From: handa Date: Tue, 28 Sep 2004 11:10:19 +0000 (+0000) Subject: (struct MFontDriver): New member `list'. X-Git-Tag: REL-1-2-0~177 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d31dd892d16fefed9c6a374fe861dc2a942ebfd;p=m17n%2Fm17n-lib.git (struct MFontDriver): New member `list'. (MFTInfo): New member languages. --- diff --git a/src/font.h b/src/font.h index d17c363..cb338f2 100644 --- a/src/font.h +++ b/src/font.h @@ -186,6 +186,10 @@ struct MFontDriver void (*render) (MDrawWindow win, int x, int y, MGlyphString *gstring, MGlyph *from, MGlyph *to, int reverse, MDrawRegion region); + + /** Push to PLIST a list of fonts matching with FONT. LANGUAGE, if + not Mnil, limits fonts to ones that support LANGUAGE. */ + void (*list) (MFrame *frame, MPlist *plist, MFont *font, MSymbol language); }; /** Initialize the members of FONT. */ @@ -215,6 +219,7 @@ typedef struct MPlist *charmap_list; int charmap_index; FT_Face ft_face; + char *languages; #ifdef HAVE_OTF OTF *otf; #endif /* HAVE_OTF */