From 332ed2e850af39fef3471625296cc656a7252310 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 29 Dec 2008 14:54:45 +0000 Subject: [PATCH] (OTF_get_variation_glyphs): Extern it.. --- src/otf.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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() */ /*** -- 1.7.10.4