summaryrefslogtreecommitdiff
path: root/pango/serializer.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/serializer.c')
-rw-r--r--pango/serializer.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/pango/serializer.c b/pango/serializer.c
index a41ef28c..4780a633 100644
--- a/pango/serializer.c
+++ b/pango/serializer.c
@@ -1621,8 +1621,10 @@ pango_layout_serialize (PangoLayout *layout,
* @filename: (type filename): the file to save it to
* @error: Return location for a potential error
*
- * This function is equivalent to calling [method@Pango.Layout.serialize]
- * followed by g_file_set_contents().
+ * A convenience method to serialize a layout to a file.
+ *
+ * It is equivalent to calling [method@Pango.Layout.serialize]
+ * followed by [func@GLib.file_set_contents].
*
* See those two functions for details on the arguments.
*
@@ -1732,6 +1734,8 @@ pango_layout_deserialize (PangoContext *context,
* The intended use of this function is testing, benchmarking and debugging.
* The format is not meant as a permanent storage format.
*
+ * To recreate a font from its serialized form, use [func@Pango.Font.deserialize].
+ *
* Returns: a `GBytes` containing the serialized form of @font
*
* Since: 1.50