From 723e7a48e213ad9216f49762d6881745c36f6678 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Thu, 29 Dec 2022 15:49:21 +0200 Subject: [PATCH] [docs] Small fixes --- src/hb-cairo.cc | 6 +++--- src/hb-font.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hb-cairo.cc b/src/hb-cairo.cc index 3839fe127..9c46a0792 100644 --- a/src/hb-cairo.cc +++ b/src/hb-cairo.cc @@ -755,9 +755,9 @@ hb_cairo_font_face_get_scale_factor (cairo_font_face_t *font_face) /** * hb_cairo_glyphs_from_buffer: * @buffer: a #hb_buffer_t containing glyphs - * @utf8_clusters: `true` to if @buffer clusters are in bytes, instead of characters - * @x_scale_factor: scale factor to divide hb_positions_t Y values by - * @y_scale_factor: scale factor to divide hb_positions_t X values by + * @utf8_clusters: `true` if @buffer clusters are in bytes, instead of characters + * @x_scale_factor: scale factor to divide #hb_position_t Y values by + * @y_scale_factor: scale factor to divide #hb_position_t X values by * @x: X position to place first glyph * @y: Y position to place first glyph * @utf8: (nullable): the text that was shaped in @buffer diff --git a/src/hb-font.h b/src/hb-font.h index a5859c962..8f4fe0774 100644 --- a/src/hb-font.h +++ b/src/hb-font.h @@ -816,7 +816,7 @@ hb_font_funcs_set_glyph_from_name_func (hb_font_funcs_t *ffuncs, * * Since: 4.0.0 * - * Deprecated: REPLACEME: Use hb_font_set_draw_glyph_func() instead + * Deprecated: REPLACEME: Use hb_font_funcs_set_draw_glyph_func() instead **/ HB_EXTERN void hb_font_funcs_set_glyph_shape_func (hb_font_funcs_t *ffuncs,