diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2020-04-14 18:22:41 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2020-06-08 17:07:01 +0100 |
commit | 8a22bba574379d0c6bd8129cd61390fcb36dd67e (patch) | |
tree | 99eea8ab4ba8c4d96969b2a82ae2abe96fff9214 /pango/pangofc-fontmap.c | |
parent | 6d90ae0ce23b4ebf25f63d6b1a4f209b49753f22 (diff) | |
download | pango-8a22bba574379d0c6bd8129cd61390fcb36dd67e.tar.gz |
Skip introspection on low level API
We don't have introspection for fontconfig and freetype2 data types.
While we do have introspection for Harfbuzz, it doesn't really work.
Diffstat (limited to 'pango/pangofc-fontmap.c')
-rw-r--r-- | pango/pangofc-fontmap.c | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c index 9ecea09b..b0c8365d 100644 --- a/pango/pangofc-fontmap.c +++ b/pango/pangofc-fontmap.c @@ -2021,9 +2021,9 @@ pango_fc_font_map_config_changed (PangoFcFontMap *fcfontmap) } /** - * pango_fc_font_map_set_config: + * pango_fc_font_map_set_config: (skip) * @fcfontmap: a #PangoFcFontMap - * @fcconfig: (nullable): a #FcConfig, or %NULL + * @fcconfig: (nullable): a `FcConfig`, or %NULL * * Set the FcConfig for this font map to use. The default value * is %NULL, which causes Fontconfig to use its global "current config". @@ -2065,12 +2065,14 @@ pango_fc_font_map_set_config (PangoFcFontMap *fcfontmap, } /** - * pango_fc_font_map_get_config: + * pango_fc_font_map_get_config: (skip) * @fcfontmap: a #PangoFcFontMap * - * Fetches FcConfig attached to a font map. See pango_fc_font_map_set_config(). + * Fetches the `FcConfig` attached to a font map. * - * Returns: (nullable): the #FcConfig object attached to @fcfontmap, which + * See also: pango_fc_font_map_set_config() + * + * Returns: (nullable): the `FcConfig` object attached to @fcfontmap, which * might be %NULL. * * Since: 1.38 @@ -2247,7 +2249,7 @@ _pango_fc_font_map_fc_to_coverage (FcCharSet *charset) * needed for correct operation on the #PangoContext after calling * this function. * - * Return value: a new #PangoContext + * Return value: (transfer full): a new #PangoContext * * Since: 1.4 * @@ -2940,6 +2942,17 @@ pango_fc_family_init (PangoFcFamily *fcfamily) fcfamily->n_faces = -1; } +/** + * pango_fc_font_map_get_hb_face: (skip) + * @fcfontmap: a #PangoFcFontMap + * @fcfont: a #PangoFcFont + * + * Retrieves the `hb_face_t` for the given #PangoFcFont. + * + * Returns: (transfer none) (nullable): the `hb_face_t` for the given Pango font + * + * Since: 1.44 + */ hb_face_t * pango_fc_font_map_get_hb_face (PangoFcFontMap *fcfontmap, PangoFcFont *fcfont) |