summaryrefslogtreecommitdiff
path: root/pango/pangofc-fontmap.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-10-24 07:02:51 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-10-24 07:02:51 +0000
commit7a9a711c69c74118902f1dd8e349a786752ee7fe (patch)
tree44af54cb522a4b1905fc3022d1344cd0a575861c /pango/pangofc-fontmap.h
parent60507b9471bf6755fff6d52789b18d3bc5540cea (diff)
downloadpango-7a9a711c69c74118902f1dd8e349a786752ee7fe.tar.gz
Bug 471601 – Pass pango version information to fontconfig
2007-10-24 Behdad Esfahbod <behdad@gnome.org> Bug 471601 – Pass pango version information to fontconfig * pango/pangofc-fontmap.h: New public API: PANGO_FC_GRAVITY PANGO_FC_VERSION * pango/pangofc-fontmap.c (pango_fc_make_pattern): Set PANGO_FC_VERSION in pattern. * docs/pango-sections.txt: * docs/tmpl/pangofc-fontmap.sgml: Update. svn path=/trunk/; revision=2461
Diffstat (limited to 'pango/pangofc-fontmap.h')
-rw-r--r--pango/pangofc-fontmap.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/pango/pangofc-fontmap.h b/pango/pangofc-fontmap.h
index 5eaf9cc9..87c1c747 100644
--- a/pango/pangofc-fontmap.h
+++ b/pango/pangofc-fontmap.h
@@ -172,6 +172,32 @@ void pango_fc_font_map_add_decoder_find_func (PangoFcFontMap *fcfontmap,
PangoFontDescription *pango_fc_font_description_from_pattern (FcPattern *pattern,
gboolean include_size);
+/**
+ * PANGO_FC_GRAVITY:
+ *
+ * String representing a fontconfig property name that Pango sets on any
+ * fontconfig pattern it passes to fontconfig if a #PangoGravity other
+ * than %PangoGravitySouth is desired.
+ *
+ * The property will have a PangoGravity value as a string, like "east".
+ *
+ * Since: 1.20
+ */
+#define PANGO_FC_GRAVITY "pangogravity"
+
+/**
+ * PANGO_FC_VERSION:
+ *
+ * String representing a fontconfig property name that Pango sets on any
+ * fontconfig pattern it passes to fontconfig.
+ *
+ * The property will have an integer value equal to what pango_version()
+ * returns.
+ *
+ * Since: 1.20
+ */
+#define PANGO_FC_VERSION "pangoversion"
+
G_END_DECLS
#endif /* __PANGO_FC_FONT_MAP_H__ */