[doc] Fix links.
[ttfautohint.git] / frontend / info.h
blob0b5bca920f44f5c4ab43cc9012166e71c6c81298
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 pre_hinting;
33 bool increase_x_height;
34 int latin_fallback;
35 bool symbol;
36 } Info_Data;
39 void
40 build_version_string(Info_Data* idata);
42 TA_Error
43 info(unsigned short platform_id,
44 unsigned short encoding_id,
45 unsigned short language_id,
46 unsigned short name_id,
47 unsigned short* str_len,
48 unsigned char** str,
49 void* user);
51 } // extern "C"
53 #endif // __INFO_H__
55 // end of info.h