Deprecate v_kerning callback again
Part of https://github.com/harfbuzz/harfbuzz/issues/1682
diff --git a/src/hb-font.cc b/src/hb-font.cc
index d7b2a7a..7eee284 100644
--- a/src/hb-font.cc
+++ b/src/hb-font.cc
@@ -336,7 +336,6 @@
return ret;
}
-#ifndef HB_DISABLE_DEPRECATED
static hb_position_t
hb_font_get_glyph_h_kerning_nil (hb_font_t *font HB_UNUSED,
void *font_data HB_UNUSED,
@@ -356,6 +355,7 @@
return font->parent_scale_x_distance (font->parent->get_glyph_h_kerning (left_glyph, right_glyph));
}
+#ifndef HB_DISABLE_DEPRECATED
static hb_position_t
hb_font_get_glyph_v_kerning_nil (hb_font_t *font HB_UNUSED,
void *font_data HB_UNUSED,
@@ -927,7 +927,6 @@
return font->get_glyph_v_origin (glyph, x, y);
}
-#ifndef HB_DISABLE_DEPRECATED
/**
* hb_font_get_glyph_h_kerning:
* @font: a font.
@@ -947,6 +946,7 @@
return font->get_glyph_h_kerning (left_glyph, right_glyph);
}
+#ifndef HB_DISABLE_DEPRECATED
/**
* hb_font_get_glyph_v_kerning:
* @font: a font.
@@ -958,6 +958,7 @@
* Return value:
*
* Since: 0.9.2
+ * Deprecated: 2.0.0
**/
hb_position_t
hb_font_get_glyph_v_kerning (hb_font_t *font,
@@ -1175,7 +1176,6 @@
return font->subtract_glyph_origin_for_direction (glyph, direction, x, y);
}
-#ifndef HB_DISABLE_DEPRECATED
/**
* hb_font_get_glyph_kerning_for_direction:
* @font: a font.
@@ -1197,7 +1197,6 @@
{
return font->get_glyph_kerning_for_direction (first_glyph, second_glyph, direction, x, y);
}
-#endif
/**
* hb_font_get_glyph_extents_for_origin: