X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fttf.h;h=76da9bafb64c2517dca72fb4120682e5c62309d9;hb=9f0d2f992e4338ecb2a15f07b65e738540099ced;hp=21460c14a57d1fceca86b93b4e60cee26bbc26dd;hpb=879464ce804e0c877db5f4b47fdbfee812f99731;p=swftools.git diff --git a/lib/ttf.h b/lib/ttf.h index 21460c1..76da9ba 100644 --- 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