From 0f623466ccccedd909813abdecaff8079dd7af48 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 5 Oct 2009 08:11:22 +0000 Subject: [PATCH] (struct MRealizedFont): New member id. (struct MFontDriver): New member iterate_otf_feature. --- src/font.h | 6 ++++++ 1 file changed, 6 insertions(+) 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. */ -- 1.7.10.4