summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttfdump/include/ttc.h
blob: 7350114cec59a6872f1d0a30749ee1bc9a6ba715 (plain)
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
#ifndef __TTF_TTC_H
#define __TTF_TTC_H

/* $Id: ttc.h,v 1.3 1998/07/06 06:07:01 werner Exp $ */

#include "ttf.h"

typedef struct
{
  ULONG TTCTag;
  Fixed version;
  ULONG DirCount;
  ULONG *offset;                /* length = DirCount */
  TTFontPtr font;
}
TTCHeader, *TTCHeaderPtr;

TTCHeaderPtr ttfLoadTTCHeader(char *filename);
void ttfLoadTTCFont(TTCHeaderPtr ttc, FILE *fp);
void ttfFreeTTCFont(TTCHeaderPtr ttc);

#endif /* __TTF_TTC_H */


/* end of ttc.h */