[pango] "prgname" and "fontfeatures" are accepted for upstream Fontconfig now



commit f4987f06ee85a87b8e787bf0881de6a2223e8fd5
Author: Behdad Esfahbod <behdad behdad org>
Date:   Tue Jan 15 19:42:47 2013 -0600

    "prgname" and "fontfeatures" are accepted for upstream Fontconfig now

 pango/pangofc-fontmap.h |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/pango/pangofc-fontmap.h b/pango/pangofc-fontmap.h
index 73d1cc9..8421f18 100644
--- a/pango/pangofc-fontmap.h
+++ b/pango/pangofc-fontmap.h
@@ -262,9 +262,11 @@ PangoFontDescription *pango_fc_font_description_from_pattern (FcPattern *pattern
  * This can be used to write fontconfig configuration rules that only affect
  * certain applications.
  *
+ * This is equivalent to FC_PRGNAME in versions of fontconfig that have that.
+ *
  * Since: 1.24
  */
-#define PANGO_FC_PRGNAME "pangoprgname"
+#define PANGO_FC_PRGNAME "prgname"
 
 /**
  * PANGO_FC_FONT_FEATURES:
@@ -276,9 +278,11 @@ PangoFontDescription *pango_fc_font_description_from_pattern (FcPattern *pattern
  * The property will have a number of string elements, each of which is the
  * OpenType feature tag of one feature to enable.
  *
+ * This is equivalent to FC_FONT_FEATURES in versions of fontconfig that have that.
+ *
  * Since: 1.34
  */
-#define PANGO_FC_FONT_FEATURES "pangofontfeatures"
+#define PANGO_FC_FONT_FEATURES "fontfeatures"
 
 G_END_DECLS
 



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