Fix OTS warning about `maxp.maxSizeOfInstructions`.
[ttfautohint.git] / lib / tatables.h
blobd46bc03900f54036ad067d9fe0d04963211d5a0d
1 /* tatables.h */
3 /*
4 * Copyright (C) 2011-2022 by Werner Lemberg.
6 * This file is part of the ttfautohint library, and may only be used,
7 * modified, and distributed under the terms given in `COPYING'. By
8 * continuing to use, modify, or distribute this file you indicate that you
9 * have read `COPYING' and understand and accept it fully.
11 * The file `COPYING' mentioned in the previous paragraph is distributed
12 * with the ttfautohint library.
16 #ifndef TATABLES_H_
17 #define TATABLES_H_
19 #include "ta.h"
22 FT_Error
23 TA_sfnt_add_table_info(SFNT* sfnt);
25 FT_ULong
26 TA_table_compute_checksum(FT_Byte* buf,
27 FT_ULong len);
29 FT_Error
30 TA_font_add_table(FONT* font,
31 SFNT_Table_Info* table_info,
32 FT_ULong tag,
33 FT_ULong len,
34 FT_Byte* buf);
36 void
37 TA_sfnt_sort_table_info(SFNT* sfnt,
38 FONT* font);
40 void
41 TA_font_compute_table_offsets(FONT* font,
42 FT_ULong start);
44 #endif /* TATABLES_H_ */
46 /* end of tatables.h */