[font] Minor doc fix
This commit is contained in:
parent
a9b37206eb
commit
9a7422c5fb
|
@ -1402,7 +1402,7 @@ hb_font_get_glyph_shape (hb_font_t *font,
|
||||||
* hb_font_paint_glyph:
|
* hb_font_paint_glyph:
|
||||||
* @font: #hb_font_t to work upon
|
* @font: #hb_font_t to work upon
|
||||||
* @glyph: The glyph ID
|
* @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
|
* @paint_data: User data to pass to paint callbacks
|
||||||
*
|
*
|
||||||
* Paints the glyph.
|
* Paints the glyph.
|
||||||
|
@ -1419,10 +1419,10 @@ hb_font_get_glyph_shape (hb_font_t *font,
|
||||||
void
|
void
|
||||||
hb_font_paint_glyph (hb_font_t *font,
|
hb_font_paint_glyph (hb_font_t *font,
|
||||||
hb_codepoint_t glyph,
|
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
|
// 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 */
|
/* A bit higher-level, and with fallback */
|
||||||
|
|
Loading…
Reference in New Issue