fixes to ttf file format, merged in Mike Lewis name table patch
[swftools.git] / lib / ttf.h
index 21460c1..76da9ba 100644 (file)
--- a/lib/ttf.h
+++ b/lib/ttf.h
@@ -146,7 +146,12 @@ typedef struct _table_post {
 } table_post_t;
 
 typedef struct _ttf {
-    char*name;
+    char*family_name;     /* nameId 1 */
+    char*subfamily_name;  /* nameId 2 */
+    char*font_uid;        /* nameId 3 */
+    char*full_name;       /* nameId 4 */
+    char*version_string;  /* nameId 5 */
+    char*postscript_name; /* nameId 6 */
 
     ttf_table_t*tables;
 
@@ -181,5 +186,6 @@ void ttf_create_truetype_tables(ttf_t*ttf);
 void ttf_dump(ttf_t*ttf);
 void ttf_destroy(ttf_t*ttf);
 void ttf_save(ttf_t*ttf, const char*filename);
+void ttf_save_eot(ttf_t*ttf, const char*filename);
 
 #endif