summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-18 16:25:01 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-18 16:25:01 -0700
commit5c74e9e573d9af5995c1e1aa44538561788dcdc3 (patch)
tree377531de28c8d9e3c2912d3524694ba0287c5fe5 /pango/fonts.c
parentc80f0fcf71fd67c6b06039de37bc67e3ecace931 (diff)
downloadpango-5c74e9e573d9af5995c1e1aa44538561788dcdc3.tar.gz
Expand docs for pango_font_get_hb_font
Diffstat (limited to 'pango/fonts.c')
-rw-r--r--pango/fonts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 262ed15f..10e5463d 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -1862,6 +1862,10 @@ pango_font_get_font_map (PangoFont *font)
*
* Get a hb_font_t object backing this font.
*
+ * Note that the objects returned by this function
+ * are cached and immutable. If you need to make
+ * changes to the hb_font_t, use hb_font_create_sub_font().
+ *
* Returns: (transfer none) (nullable): the hb_font_t object backing the
* font, or %NULL if the font does not have one
*