(get_anchor): Delete it.
authorhanda <handa>
Mon, 9 Nov 2009 02:16:26 +0000 (02:16 +0000)
committerhanda <handa>
Mon, 9 Nov 2009 02:16:26 +0000 (02:16 +0000)
(get_class_def_auto): Make it static.

src/otfdrive.c

index 0b2ef60..4ae95b8 100644 (file)
@@ -738,24 +738,6 @@ lookup_gsub (OTF *otf, OTF_LookupList *lookup_list, unsigned lookup_list_index,
 \f
 
 /* 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];