[pango/misc-doc-fixups: 6/7] docs: Some cross-linking




commit d2153e740a299f1282adfde7813fd2fb587b23a3
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 10 19:51:20 2021 -0500

    docs: Some cross-linking

 pango/serializer.c | 8 ++++++--
 1 file 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]