Update file `no-copyright' and run `update-copyright'.
[ttfautohint.git] / frontend / info.h
blob87ae58972262be15d37d5609dea76c25d9ac1713
1 // info.h
3 // Copyright (C) 2012-2014 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>
18 #include <numberset.h>
20 extern "C" {
22 typedef struct Info_Data_
24 unsigned char* data;
25 unsigned char* data_wide;
26 unsigned short data_len;
27 unsigned short data_wide_len;
29 int hinting_range_min;
30 int hinting_range_max;
31 int hinting_limit;
33 bool gray_strong_stem_width;
34 bool gdi_cleartype_strong_stem_width;
35 bool dw_cleartype_strong_stem_width;
37 int increase_x_height;
38 number_range* x_height_snapping_exceptions;
40 bool windows_compatibility;
41 bool pre_hinting;
42 bool hint_composites;
43 char fallback_script[5];
44 bool symbol;
45 bool dehint;
46 } Info_Data;
49 int
50 build_version_string(Info_Data* idata);
52 TA_Error
53 info(unsigned short platform_id,
54 unsigned short encoding_id,
55 unsigned short language_id,
56 unsigned short name_id,
57 unsigned short* str_len,
58 unsigned char** str,
59 void* user);
61 } // extern "C"
63 #endif // __INFO_H__
65 // end of info.h