diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-22 00:26:52 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-03-11 13:17:37 -0500 |
commit | 7632435e937d2c921e6eb96d40cfde55bd3d9500 (patch) | |
tree | 50fd5835bd513d784b199234c553d62e5b003d28 /pango/pangofc-decoder.c | |
parent | 5ac7f03b8195d2d4d0c2893b1284029132a9af10 (diff) | |
download | pango-7632435e937d2c921e6eb96d40cfde55bd3d9500.tar.gz |
pangofc: Tweak docs
Convert link syntax and add summaries.
Diffstat (limited to 'pango/pangofc-decoder.c')
-rw-r--r-- | pango/pangofc-decoder.c | 34 |
1 files changed, 15 insertions, 19 deletions
diff --git a/pango/pangofc-decoder.c b/pango/pangofc-decoder.c index 7af4cdfc..0d3b00a0 100644 --- a/pango/pangofc-decoder.c +++ b/pango/pangofc-decoder.c @@ -19,14 +19,6 @@ * Boston, MA 02111-1307, USA. */ -/** - * SECTION:pangofc-decoder - * @short_description:Custom font encoding handling - * @title:PangoFcDecoder - * - * PangoFcDecoder represents a decoder that an application provides - * for handling a font that is encoded in a custom way. - */ #include "config.h" #include "pangofc-decoder.h" @@ -44,15 +36,17 @@ pango_fc_decoder_class_init (PangoFcDecoderClass *klass G_GNUC_UNUSED) /** * pango_fc_decoder_get_charset: - * @decoder: a #PangoFcDecoder - * @fcfont: the #PangoFcFont to query. + * @decoder: a `PangoFcDecoder` + * @fcfont: the `PangoFcFont` to query. * - * Generates an #FcCharSet of supported characters for the fcfont - * given. The returned #FcCharSet will be a reference to an - * internal value stored by the #PangoFcDecoder and must not + * Generates an `FcCharSet` of supported characters for the @fcfont + * given. + * + * The returned `FcCharSet` will be a reference to an + * internal value stored by the `PangoFcDecoder` and must not * be modified or freed. * - * Returns: (transfer none): the #FcCharset for @fcfont; must not + * Returns: (transfer none): the `FcCharset` for @fcfont; must not * be modified or freed. * * Since: 1.6 @@ -68,12 +62,14 @@ pango_fc_decoder_get_charset (PangoFcDecoder *decoder, /** * pango_fc_decoder_get_glyph: - * @decoder: a #PangoFcDecoder - * @fcfont: a #PangoFcFont to query. - * @wc: the Unicode code point to convert to a single #PangoGlyph. + * @decoder: a `PangoFcDecoder` + * @fcfont: a `PangoFcFont` to query. + * @wc: the Unicode code point to convert to a single `PangoGlyph`. + * + * Generates a `PangoGlyph` for the given Unicode point using the + * custom decoder. * - * Generates a #PangoGlyph for the given Unicode point using the - * custom decoder. For complex scripts where there can be multiple + * For complex scripts where there can be multiple * glyphs for a single character, the decoder will return whatever * glyph is most convenient for it. (Usually whatever glyph is directly * in the fonts character map table.) |