From 2d31dd892d16fefed9c6a374fe861dc2a942ebfd Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 28 Sep 2004 11:10:19 +0000 Subject: [PATCH] (struct MFontDriver): New member `list'. (MFTInfo): New member languages. --- src/font.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- 1.7.10.4