texk/ttfdump/include/ttc.h
raw| 1 | #ifndef __TTF_TTC_H |
| 2 | #define __TTF_TTC_H |
| 3 | |
| 4 | /* $Id: ttc.h,v 1.3 1998/07/06 06:07:01 werner Exp $ */ |
| 5 | |
| 6 | #include "ttf.h" |
| 7 | |
| 8 | typedef struct |
| 9 | { |
| 10 | ULONG TTCTag; |
| 11 | Fixed version; |
| 12 | ULONG DirCount; |
| 13 | ULONG *offset; /* length = DirCount */ |
| 14 | TTFontPtr font; |
| 15 | } |
| 16 | TTCHeader, *TTCHeaderPtr; |
| 17 | |
| 18 | TTCHeaderPtr ttfLoadTTCHeader(char *filename); |
| 19 | void ttfFreeTTCFont(TTCHeaderPtr ttc); |
| 20 | |
| 21 | #endif /* __TTF_TTC_H */ |
| 22 | |
| 23 | |
| 24 | /* end of ttc.h */ |