summaryrefslogtreecommitdiff
path: root/pango/pango-font.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-11-24 12:26:50 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-11-24 19:57:58 -0500
commit580ad90e9737b13a941f981c9fa2b2d8e5fae120 (patch)
treeef779c07af048e64d91b4fe9c56c1c77de59935c /pango/pango-font.h
parentbecb4a942a87989acd37770af08f04da3e2731ba (diff)
downloadpango-580ad90e9737b13a941f981c9fa2b2d8e5fae120.tar.gz
Add pango_font_serialize
Another debug api. This function produces a serialization of a font that is enough to uniquely identify the font. This is more detailed than what pango_font_describe creates.
Diffstat (limited to 'pango/pango-font.h')
-rw-r--r--pango/pango-font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index c56fb792..bfe4bc31 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -634,6 +634,9 @@ hb_font_t * pango_font_get_hb_font (PangoFont *font);
PANGO_AVAILABLE_IN_1_50
PangoLanguage ** pango_font_get_languages (PangoFont *font);
+PANGO_AVAILABLE_IN_1_50
+GBytes * pango_font_serialize (PangoFont *font);
+
/**
* PANGO_GLYPH_EMPTY:
*