[font] Mark hb_font_get_var_coords_design() non-experimental

Any remaining issue with the API will address later by deprecating it.

Fixes https://github.com/harfbuzz/harfbuzz/issues/1865
pull/3350/head
Behdad Esfahbod 3 years ago
parent 2d42fc9fbb
commit 5b87c30d6b
  1. 4
      src/hb-font.cc
  2. 2
      src/hb-font.h

@ -2226,7 +2226,6 @@ hb_font_get_var_coords_normalized (hb_font_t *font,
return font->coords;
}
#ifdef HB_EXPERIMENTAL_API
/**
* hb_font_get_var_coords_design:
* @font: #hb_font_t to work upon
@ -2237,7 +2236,7 @@ hb_font_get_var_coords_normalized (hb_font_t *font,
*
* Return value: coordinates array
*
* Since: EXPERIMENTAL
* Since: REPLACEME
*/
const float *
hb_font_get_var_coords_design (hb_font_t *font,
@ -2249,7 +2248,6 @@ hb_font_get_var_coords_design (hb_font_t *font,
return font->design_coords;
}
#endif
#endif
#ifndef HB_DISABLE_DEPRECATED
/*

@ -1033,11 +1033,9 @@ hb_font_set_var_coords_design (hb_font_t *font,
const float *coords,
unsigned int coords_length);
#ifdef HB_EXPERIMENTAL_API
HB_EXTERN const float *
hb_font_get_var_coords_design (hb_font_t *font,
unsigned int *length);
#endif
HB_EXTERN void
hb_font_set_var_coords_normalized (hb_font_t *font,

Loading…
Cancel
Save