From: handa Date: Mon, 9 Nov 2009 02:16:26 +0000 (+0000) Subject: (get_anchor): Delete it. X-Git-Tag: REL-0-9-11~46 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c47eb0b1f7c69a05a453ad49ffcf8a73d0d84368;p=m17n%2Flibotf.git (get_anchor): Delete it. (get_class_def_auto): Make it static. --- diff --git a/src/otfdrive.c b/src/otfdrive.c index 0b2ef60..4ae95b8 100644 --- a/src/otfdrive.c +++ b/src/otfdrive.c @@ -738,24 +738,6 @@ lookup_gsub (OTF *otf, OTF_LookupList *lookup_list, unsigned lookup_list_index, /* GPOS */ -unsigned -get_anchor (OTF_Anchor *anchor, OTF_ValueRecord *rec) -{ - unsigned value_format = OTF_XPlacement | OTF_YPlacement; - - rec->XPlacement = anchor->XCoordinate; - rec->YPlacement = anchor->YCoordinate; - if (anchor->AnchorFormat == 1) - /* Nothing to do */ - ; - else if (anchor->AnchorFormat == 2) - /* Not yet implemented */ - ; - else if (anchor->AnchorFormat == 3) - /* Not yet implemented */ - ; - return value_format; -} static int gstring_insert_for_gpos (OTF_GlyphString *gstring, int gidx) @@ -1568,7 +1550,7 @@ static int glyph_class_table[] = 0x10A40, 0x1D165, 0x1D16A, 0x1D16D, 0x1D173, 0x1D17B, 0x1D183, 0x1D185, 0x1D18C, 0x1D1AA, 0x1D1AE, 0x1D242, 0x1D245, 0xE0100, 0xE01F0 }; -int get_class_def_auto (int c) +static int get_class_def_auto (int c) { static int table_size = sizeof glyph_class_table / sizeof glyph_class_table[0];