[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
This commit is contained in:
Behdad Esfahbod 2022-01-02 07:53:45 -07:00
parent 2d42fc9fbb
commit 5b87c30d6b
2 changed files with 1 additions and 5 deletions

View File

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

View File

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