summaryrefslogtreecommitdiff
path: root/src/type1/t1tokens.h
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2009-03-03 13:28:59 +0000
committerDavid Turner <david@freetype.org>2009-03-03 13:28:59 +0000
commit01ca4da20375cf64f7e6b8c22c038042cf849502 (patch)
treee3ff9f0ca1237256015e64083363faab7aed3a6f /src/type1/t1tokens.h
parent7585683c4a93a1f08ad3289d6564fda80818b2b4 (diff)
downloadfreetype2-01ca4da20375cf64f7e6b8c22c038042cf849502.tar.gz
Remove ABI-breaking field in public PS_InfoFontRec definition.
Instead, we define a new internal PS_FontExtraRec structure to hold the additionnal field, then place it in various internal positions of the corresponding FT_Face derived objects.
Diffstat (limited to 'src/type1/t1tokens.h')
-rw-r--r--src/type1/t1tokens.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/type1/t1tokens.h b/src/type1/t1tokens.h
index db08e045c..bfbd0ef86 100644
--- a/src/type1/t1tokens.h
+++ b/src/type1/t1tokens.h
@@ -41,6 +41,12 @@
T1_FIELD_DICT_FONTDICT )
T1_FIELD_NUM ( "UnderlineThickness", underline_thickness,
T1_FIELD_DICT_FONTDICT )
+
+#undef FT_STRUCTURE
+#define FT_STRUCTURE PS_FontExtraRec
+#undef T1CODE
+#define T1CODE T1_FIELD_LOCATION_FONT_EXTRA
+
T1_FIELD_NUM ( "FSType", fs_type,
T1_FIELD_DICT_FONTDICT )