diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-12-10 19:51:20 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-12-10 19:51:20 -0500 |
commit | d2153e740a299f1282adfde7813fd2fb587b23a3 (patch) | |
tree | 80cfb46267c7b22c48cb1be579c6e3d1f477cddb /pango | |
parent | e91571cad320633467acbb89dc12d67e884986d4 (diff) | |
download | pango-d2153e740a299f1282adfde7813fd2fb587b23a3.tar.gz |
docs: Some cross-linking
Diffstat (limited to 'pango')
-rw-r--r-- | pango/serializer.c | 8 |
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 |