0 limits the number of listed fonts. Return the number of fonts
listed. */
int (*list) (MFrame *frame, MPlist *plist, MFont *font, int maxnum);
+
+ /** Check if RFONT support CAPABILITY. */
+ int (*check_capability) (MRealizedFont *rfont, MSymbol capability);
};
/** Initialize the members of FONT. */
MSymbol *lang;
MSymbol script;
OTF_Tag script_tag;
-#ifdef HAVE_OTF
OTF_Tag langsys_tag;
struct {
char *str;
int nfeatures;
OTF_Tag *tags;
} features[MFONT_OTT_MAX];
-#endif
} MFontCapability;
extern MFontDriver mfont__ft_driver;
extern MFontCapability *mfont__get_capability (MSymbol sym);
+extern int mfont__check_capability (MRealizedFont *rfont, MSymbol capability);
+
extern unsigned mfont__flt_encode_char (MSymbol layouter_name, int c);
extern int mfont__flt_run (MGlyphString *gstring, int from, int to,