very preliminray CID support
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
diff --git a/include/t1tables.h b/include/t1tables.h
index 53945f1..fd662a1 100644
--- a/include/t1tables.h
+++ b/include/t1tables.h
@@ -102,4 +102,44 @@
} T1_Private;
+
+ typedef struct CID_FontDict_
+ {
+ T1_FontInfo font_info;
+ T1_Private private;
+
+ FT_UInt num_subrs;
+ FT_ULong subrmap_offset;
+ FT_Int sd_bytes;
+
+ } CID_FontDict;
+
+
+ typedef struct CID_Info_
+ {
+ FT_String* cid_font_name;
+ FT_Fixed cid_version;
+ FT_Int cid_font_type;
+
+ FT_String* registry;
+ FT_String* ordering;
+ FT_Int supplement;
+
+ FT_ULong uid_base;
+
+ FT_Int num_xuid;
+ FT_ULong xuid[16];
+
+
+ FT_ULong cidmap_offset;
+ FT_Int fd_bytes;
+ FT_Int gd_bytes;
+ FT_ULong cid_count;
+
+ FT_Int num_font_dicts;
+ CIF_FontDict* font_dicts;
+
+ } CID_Info;
+
+
#endif /* T1TABLES_H */