summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2010-01-29 23:18:34 +0900
committersuzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>2010-01-29 23:18:34 +0900
commit75852eda51106579c3b15be83e5ab6b896d54f07 (patch)
tree989181379dd837cca4c049d92ece6e26db3e62c7 /include
parentf19e46f3bae4a8b652d39298cc9f42c9f27bdbeb (diff)
New parameters for FT_Open_Face() to ignore preferred family names.
Diffstat (limited to 'include')
-rw-r--r--include/freetype/ftsnames.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/freetype/ftsnames.h b/include/freetype/ftsnames.h
index f20b4099..50ee08ce 100644
--- a/include/freetype/ftsnames.h
+++ b/include/freetype/ftsnames.h
@@ -160,6 +160,22 @@ FT_BEGIN_HEADER
FT_SfntName *aname );
+ /***************************************************************************
+ *
+ * @constant:
+ * FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY
+ * FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY
+ *
+ * @description:
+ * A constant used as the tag of @FT_Parameter structures to make
+ * FT_Open_Face() ignore preferred family & preferred subfamily names
+ * in `name' table since OpenType version 1.4. For back compatibility
+ * with legacy systems which has 4-face-per-family restriction.
+ *
+ */
+#define FT_PARAM_TAG_IGNORE_PREFERRED_FAMILY FT_MAKE_TAG( 'i', 'g', 'p', 'f' )
+#define FT_PARAM_TAG_IGNORE_PREFERRED_SUBFAMILY FT_MAKE_TAG( 'i', 'g', 'p', 's' )
+
/* */