gsk: Drop an unused private function

gsk_font_get_hint_style is no longer used.
This commit is contained in:
Matthias Clasen
2024-04-26 23:35:10 -04:00
parent 949aacb417
commit edbd13f36f
2 changed files with 0 additions and 15 deletions

View File

@@ -144,20 +144,6 @@ gsk_font_get_size (PangoFont *font)
return size / PANGO_SCALE;
}
/*< private >
* gsk_font_get_hint_style:
* @font: a `PangoFont`
*
* Get the hint style from the cairo font options.
*
* Returns: the hint style
*/
cairo_hint_style_t
gsk_font_get_hint_style (PangoFont *font)
{
return cairo_font_options_get_hint_style (pango_font_get_cairo_font_options (font));
}
/*< private >
* gsk_font_get_rendering:
* @font: a `PangoFont`

View File

@@ -14,7 +14,6 @@ PangoFont *gsk_reload_font (PangoFont *font,
cairo_hint_style_t hint_style,
cairo_antialias_t antialias);
cairo_hint_style_t gsk_font_get_hint_style (PangoFont *font);
void gsk_font_get_rendering (PangoFont *font,
float scale,
cairo_hint_metrics_t *hint_metrics,