From d505ca777c4a8757c5750ef5010a923ddebb0edb Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 19 Sep 2024 12:16:47 +0300 Subject: [PATCH] Removed unreleased deprecated ot_metrics_* functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These were introduce in main branch and didn’t make it to release, so no need to keep them for backward compatibility. --- src/uharfbuzz/_harfbuzz.pyx | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/uharfbuzz/_harfbuzz.pyx b/src/uharfbuzz/_harfbuzz.pyx index 77b8880..6fc5759 100644 --- a/src/uharfbuzz/_harfbuzz.pyx +++ b/src/uharfbuzz/_harfbuzz.pyx @@ -2006,32 +2006,6 @@ def ot_math_get_glyph_assembly(font: Font, return font.get_math_glyph_assembly(glyph, direction) -@deprecated("Font.get_metric_position()") -def ot_metrics_get_position(font: Font, - tag: OTMetricsTag) -> int: - return font.get_metric_position(tag) - -@deprecated("Font.get_metric_position_with_fallback()") -def ot_metrics_get_position_with_fallback(font: Font, - tag: OTMetricsTag) -> int: - return font.get_metric_position_with_fallback(tag) - -@deprecated("Font.get_metric_variation()") -def ot_metrics_get_variation(font: Font, - tag: OTMetricsTag) -> float: - return font.get_metric_variation(tag) - -@deprecated("Font.get_metric_x_variation()") -def ot_metrics_get_x_variation(font: Font, - tag: OTMetricsTag) -> int: - return font.get_metric_x_variation(tag) - -@deprecated("Font.get_metric_y_variation()") -def ot_metrics_get_y_variation(font: Font, - tag: OTMetricsTag) -> int: - return font.get_metric_y_variation(tag) - - def ot_font_set_funcs(Font font): hb_ot_font_set_funcs(font._hb_font)