From fcb5111cc6db8e310d62e27d93980a0f67ee936a Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sat, 21 Jan 2023 00:24:50 +0200 Subject: [PATCH] [doc] Fix gtk-doc warning --- src/hb-cairo.cc | 6 +++--- src/hb-face.cc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hb-cairo.cc b/src/hb-cairo.cc index a0b4f3bf2..ecab5b72d 100644 --- a/src/hb-cairo.cc +++ b/src/hb-cairo.cc @@ -776,7 +776,7 @@ hb_cairo_font_face_get_scale_factor (cairo_font_face_t *font_face) * cairo_user_scaled_font_text_to_glyphs_func_t. * * The @num_glyphs argument should be preset to the number of glyph entries available - * in the @glyphs buffer. If the @glyphs buffer is %NULL, the value of + * in the @glyphs buffer. If the @glyphs buffer is `NULL`, the value of * @num_glyphs must be zero. If the provided glyph array is too short for * the conversion (or for convenience), a new glyph array may be allocated * using cairo_glyph_allocate() and placed in @glyphs. Upon return, @@ -785,11 +785,11 @@ hb_cairo_font_face_get_scale_factor (cairo_font_face_t *font_face) * allocated glyph array using cairo_glyph_free(). The caller will also free * the original value of @glyphs, so this function shouldn't do so. * - * If @clusters is not %NULL, then @num_clusters and @cluster_flags + * If @clusters is not `NULL`, then @num_clusters and @cluster_flags * should not be either, and @utf8 must be provided, and cluster * mapping will be computed. The semantics of how * cluster array allocation works is similar to the glyph array. That is, - * if @clusters initially points to a non-%NULL value, that array may be used + * if @clusters initially points to a non-`NULL` value, that array may be used * as a cluster buffer, and @num_clusters points to the number of cluster * entries available there. If the provided cluster array is too short for * the conversion (or for convenience), a new cluster array may be allocated diff --git a/src/hb-face.cc b/src/hb-face.cc index 97582face..6fcec29bb 100644 --- a/src/hb-face.cc +++ b/src/hb-face.cc @@ -604,7 +604,7 @@ hb_face_collect_unicodes (hb_face_t *face, * hb_face_collect_nominal_glyph_mapping: * @face: A face object * @mapping: (out): The map to add Unicode-to-glyph mapping to - * @unicodes: (nullable) (out): The set to add Unicode characters to, or %NULL + * @unicodes: (nullable) (out): The set to add Unicode characters to, or `NULL` * * Collects the mapping from Unicode characters to nominal glyphs of the @face, * and optionally all of the Unicode characters covered by @face.