summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/fontconfig-devel.sgml2
-rw-r--r--doc/fontconfig-user.sgml1
-rw-r--r--fontconfig/fontconfig.h1
-rw-r--r--src/fcobjs.h1
4 files changed, 5 insertions, 0 deletions
diff --git a/doc/fontconfig-devel.sgml b/doc/fontconfig-devel.sgml
index 79cceb1e..b35ef9ab 100644
--- a/doc/fontconfig-devel.sgml
+++ b/doc/fontconfig-devel.sgml
@@ -190,6 +190,8 @@ convenience for the application's rendering mechanism.
the font
embolden FC_EMBOLDEN Bool Rasterizer should
synthetically embolden the font
+ fontfeatures FC_FONT_FEATURES String List of the feature tags in
+ OpenType to be enabled
namelang FC_NAMELANG String Language name to be used for the
default value of familylang,
stylelang and fullnamelang
diff --git a/doc/fontconfig-user.sgml b/doc/fontconfig-user.sgml
index c842371e..068b1fcd 100644
--- a/doc/fontconfig-user.sgml
+++ b/doc/fontconfig-user.sgml
@@ -131,6 +131,7 @@ convenience for the applications' rendering mechanism.
fontversion Int Version number of the font
capability String List of layout capabilities in the font
embolden Bool Rasterizer should synthetically embolden the font
+ fontfeatures String List of the feature tags in OpenType to be enabled
</programlisting>
</refsect2>
<refsect2>
diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h
index 52e9438f..3676fc1a 100644
--- a/fontconfig/fontconfig.h
+++ b/fontconfig/fontconfig.h
@@ -112,6 +112,7 @@ typedef int FcBool;
#define FC_EMBEDDED_BITMAP "embeddedbitmap" /* Bool - true to enable embedded bitmaps */
#define FC_DECORATIVE "decorative" /* Bool - true if style is a decorative variant */
#define FC_LCD_FILTER "lcdfilter" /* Int */
+#define FC_FONT_FEATURES "fontfeatures" /* String */
#define FC_NAMELANG "namelang" /* String RFC 3866 langs */
#define FC_CACHE_SUFFIX ".cache-" FC_CACHE_VERSION
diff --git a/src/fcobjs.h b/src/fcobjs.h
index 1e9067e2..cbe01909 100644
--- a/src/fcobjs.h
+++ b/src/fcobjs.h
@@ -41,4 +41,5 @@ FC_OBJECT (EMBEDDED_BITMAP, FcTypeBool)
FC_OBJECT (DECORATIVE, FcTypeBool)
FC_OBJECT (LCD_FILTER, FcTypeInteger)
FC_OBJECT (NAMELANG, FcTypeString)
+FC_OBJECT (FONT_FEATURES, FcTypeString)
/* ^-------------- Add new objects here. */