summaryrefslogtreecommitdiff
path: root/pango/fonts.c
diff options
context:
space:
mode:
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
*