X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Ffont.h;h=54c75d1827bcf5205e256b0b3f0ca2f8b27727a9;hb=c42974a7971c8d3bcd6e9356418d3f2182f7b08b;hp=5c9f0be1e0af50e80a37c278b6a5df1b1ce4b733;hpb=8dd2171ec49e473f44d959725ed2daf44503e22e;p=m17n%2Fm17n-lib.git diff --git a/src/font.h b/src/font.h index 5c9f0be..54c75d1 100644 --- a/src/font.h +++ b/src/font.h @@ -187,9 +187,12 @@ struct MFontDriver 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); + /** Push to PLIST fonts matching with FONT. LANGUAGE, if not Mnil, + limits fonts to ones that support LANGUAGE. MAXNUM if greater + than 0 limits the number of listed fonts. Return how many fonts + a listed. */ + int (*list) (MFrame *frame, MPlist *plist, MFont *font, MSymbol language, + int maxnum); }; /** Initialize the members of FONT. */