From: handa Date: Mon, 29 Dec 2008 14:54:45 +0000 (+0000) Subject: (OTF_get_variation_glyphs): Extern it.. X-Git-Tag: REL-0-9-9~18 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=332ed2e850af39fef3471625296cc656a7252310;p=m17n%2Flibotf.git (OTF_get_variation_glyphs): Extern it.. --- diff --git a/src/otf.h b/src/otf.h index a7114d4..2dc894e 100644 --- a/src/otf.h +++ b/src/otf.h @@ -1315,6 +1315,16 @@ extern int OTF_drive_cmap (OTF *otf, OTF_GlyphString *gstring); extern int OTF_drive_cmap2 (OTF *otf, OTF_GlyphString *gstring, int platform_id, int encoding_id); + +/*** + Store variable glyphs of character C in the array CODE. The array + size must be 256. The Nth element of CODE is the glyph corresponding + to the variation selector (N + 1). The return value is the number + of variation glyphs. */ + +extern int OTF_get_variation_glyphs (OTF *otf, int c, OTF_GlyphID code[256]); + + /*** (3-3) OTF_drive_gdef() */ /***