[font] Minor doc fix

This commit is contained in:
Behdad Esfahbod 2022-12-18 13:46:32 -07:00
parent a9b37206eb
commit 9a7422c5fb
1 changed files with 3 additions and 3 deletions

View File

@ -1402,7 +1402,7 @@ hb_font_get_glyph_shape (hb_font_t *font,
* hb_font_paint_glyph:
* @font: #hb_font_t to work upon
* @glyph: The glyph ID
* @funcs: #hb_paint_funcs_t to paint with
* @pfuncs: #hb_paint_funcs_t to paint with
* @paint_data: User data to pass to paint callbacks
*
* Paints the glyph.
@ -1419,10 +1419,10 @@ hb_font_get_glyph_shape (hb_font_t *font,
void
hb_font_paint_glyph (hb_font_t *font,
hb_codepoint_t glyph,
hb_paint_funcs_t *funcs, void *paint_data)
hb_paint_funcs_t *pfuncs, void *paint_data)
{
// TODO add an adapter for child fonts like get_glyph_shape does
font->get_glyph_paint (glyph, funcs, paint_data);
font->get_glyph_paint (glyph, pfuncs, paint_data);
}
/* A bit higher-level, and with fallback */