Omission.
[ttfautohint.git] / frontend / info.h
blob2a0d98bad593056c75352e912fb856c7f027c175
1 // info.h
3 // Copyright (C) 2012 by Werner Lemberg.
4 //
5 // This file is part of the ttfautohint library, and may only be used,
6 // modified, and distributed under the terms given in `COPYING'. By
7 // continuing to use, modify, or distribute this file you indicate that you
8 // have read `COPYING' and understand and accept it fully.
9 //
10 // The file `COPYING' mentioned in the previous paragraph is distributed
11 // with the ttfautohint library.
14 #ifndef __INFO_H__
15 #define __INFO_H__
17 #include <ttfautohint.h>
19 extern "C" {
21 typedef struct Info_Data_
23 unsigned char* data;
24 unsigned char* data_wide;
25 unsigned short data_len;
26 unsigned short data_wide_len;
28 int hinting_range_min;
29 int hinting_range_max;
30 int hinting_limit;
32 bool gray_strong_stem_width;
33 bool gdi_cleartype_strong_stem_width;
34 bool dw_cleartype_strong_stem_width;
36 int increase_x_height;
38 bool pre_hinting;
39 bool hint_with_components;
40 int latin_fallback;
41 bool symbol;
42 } Info_Data;
45 void
46 build_version_string(Info_Data* idata);
48 TA_Error
49 info(unsigned short platform_id,
50 unsigned short encoding_id,
51 unsigned short language_id,
52 unsigned short name_id,
53 unsigned short* str_len,
54 unsigned char** str,
55 void* user);
57 } // extern "C"
59 #endif // __INFO_H__
61 // end of info.h