Skip to content

Commit

Permalink
Removed unreleased deprecated ot_metrics_* functions
Browse files Browse the repository at this point in the history
These were introduce in main branch and didn’t make it to release, so no
need to keep them for backward compatibility.
  • Loading branch information
khaledhosny committed Sep 19, 2024
1 parent a0b575a commit d505ca7
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/uharfbuzz/_harfbuzz.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d505ca7

Please sign in to comment.