summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-12-02 19:51:14 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-12-02 20:24:53 -0500
commit73f27640b5292dd758e3daf5c88180b8e54e2804 (patch)
tree7670d8787860c0abae1945bb181753a954cfb1ad /pango/pango-font.h
parent2c0aa8b8d3ac2811479976d6477166592b862458 (diff)
downloadpango-73f27640b5292dd758e3daf5c88180b8e54e2804.tar.gz
Add pango_font_deserialize
This will make the font serialization useful in GTK, where we serialize fonts in node files.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index bfe4bc31..f4e619a1 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -637,6 +637,11 @@ PangoLanguage ** pango_font_get_languages (PangoFont *font);
PANGO_AVAILABLE_IN_1_50
GBytes * pango_font_serialize (PangoFont *font);
+PANGO_AVAILABLE_IN_1_50
+PangoFont * pango_font_deserialize (PangoContext *context,
+ GBytes *bytes,
+ GError **error);
+
/**
* PANGO_GLYPH_EMPTY:
*