Skip to content

Commit

Permalink
Merge pull request #210 from harfbuzz/ot-metrics-cleanup
Browse files Browse the repository at this point in the history
Removed unreleased deprecated ot_metrics_* functions
  • Loading branch information
khaledhosny authored Sep 19, 2024
2 parents a0b575a + d505ca7 commit ddd872e
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 ddd872e

Please sign in to comment.