Debian Codegraph @

inc/fontforge-config.h.in

raw
1 /* This is a GENERATED file, please see fontforge-config.h.in */
2
3 /* Copyright (C) 2000-2019 FontForge authors */
4 /*
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7
8 * Redistributions of source code must retain the above copyright notice, this
9 * list of conditions and the following disclaimer.
10
11 * Redistributions in binary form must reproduce the above copyright notice,
12 * this list of conditions and the following disclaimer in the documentation
13 * and/or other materials provided with the distribution.
14
15 * The name of the author may not be used to endorse or promote products
16 * derived from this software without specific prior written permission.
17
18 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
19 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
20 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
21 * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */
29
30 #ifndef FONTFORGE_CONFIG_H
31 #define FONTFORGE_CONFIG_H
32
33 /* The tagged version of FontForge. Additional versioning information in fontforge-version-extras.h */
34 #define FONTFORGE_VERSION "@PROJECT_VERSION@"
35
36 /* CalVer format for Python module (e.g., 2025.10.9 from 20251009) */
37 #define FONTFORGE_PYTHON_VERSION "@FONTFORGE_PYTHON_VERSION@"
38
39 /* The install prefix configured at configure/compile time, used as a last resort */
40 #define FONTFORGE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
41
42 #define SERIF_UI_FAMILIES "@FONTFORGE_SERIF_FAMILIES@"
43 #define SANS_UI_FAMILIES "@FONTFORGE_UI_FAMILIES@"
44 #define LABEL_UI_FAMILIES "@FONTFORGE_LABEL_FAMILIES@"
45 #define MONO_UI_FAMILIES "@FONTFORGE_MONO_FAMILIES@"
46
47 /* Platform checks */
48
49 #cmakedefine WORDS_BIGENDIAN 1
50
51
52 /* Mac specific defines */
53
54 #cmakedefine _CursorsMustBe16x16 1
55
56 #cmakedefine __Mac 1
57
58
59 /* Cygwin specific defines */
60
61 #cmakedefine __CygWin 1
62
63
64 #cmakedefine _BrokenBitmapImages 1
65
66 #cmakedefine _ModKeysAutoRepeat 1
67
68 /* Header checks */
69
70 #cmakedefine HAVE_EXECINFO_H 1
71
72 #cmakedefine HAVE_LIBINTL_H 1
73
74 #cmakedefine HAVE_IEEEFP_H 1
75
76 /* Function checks */
77
78 #cmakedefine HAVE_REALPATH 1
79
80 /* FontForge configurable options */
81
82 #cmakedefine FONTFORGE_CONFIG_SHOW_RAW_POINTS 1
83
84 #cmakedefine FONTFORGE_CONFIG_TILEPATH 1
85
86 #cmakedefine FONTFORGE_CONFIG_WRITE_PFM 1
87
88 #cmakedefine FONTFORGE_CONFIG_USE_DOUBLE 1
89
90 #cmakedefine FREETYPE_HAS_DEBUGGER 1
91
92
93 /* FontForge feature detection */
94
95 #cmakedefine FONTFORGE_CAN_USE_WOFF2 1
96
97 #cmakedefine _NO_FFSCRIPT 1
98
99 #cmakedefine _NO_LIBJPEG 1
100
101 #cmakedefine _NO_LIBPNG 1
102
103 #cmakedefine _NO_LIBSPIRO 1
104
105 #cmakedefine _NO_LIBUNIBREAK 1
106
107 #cmakedefine _NO_LIBTIFF 1
108
109 #cmakedefine _NO_LIBUNGIF 1
110
111 #cmakedefine _NO_PYTHON 1
112
113 #cmakedefine _NO_LIBREADLINE 1
114
115 #cmakedefine _LIBSPIRO_FUN @_LIBSPIRO_FUN@
116
117
118 /* More or less obsolete settings from the old configure-fontforge.h */
119
120 /* Apple suggests using a sfnt version of 'true' for fonts designed for use */
121 /* only on a mac (windows refuses such fonts). I generally prefer to have a */
122 /* font work everywhere, so normally ff produces fonts with version 1.0 */
123 /* Set this if you want Apple only fonts (produced when Apple mode is set and*/
124 /* Opentype mode is unset in the Generate Fonts-Options dialog). */
125 /* */
126 /* #define FONTFORGE_CONFIG_APPLE_ONLY_TTF */
127
128
129 /* Nobody else puts apple unicode encodings into the name table. So I probably*/
130 /* shouldn't either. But if someone wants them... */
131 /* */
132 /* #define FONTFORGE_CONFIG_APPLE_UNICODE_NAMES */
133
134
135 /* I used to use an approximation method when converting cubic to quadratic */
136 /* splines which was non-symmetric. In some cases it produced better results */
137 /* than the current approach. This flag restores the old algorithm. */
138 /* */
139 /* #define FONTFORGE_CONFIG_NON_SYMMETRIC_QUADRATIC_CONVERSION */
140
141
142 /* Prior to late Sept of 2003 FontForge converted certain mac feature/settings */
143 /* into opentype-like tags. Some features could be converted directly but for */
144 /* a few I made up tags. Now FontForge is capable of using the mac feature */
145 /* settings directly. If you set this flag then when FontForge loads in an sfd*/
146 /* file with these non-standard opentype tags, it will convert them into the */
147 /* appropriate mac feature/setting combinations. */
148 /* */
149 /* #define FONTFORGE_CONFIG_CVT_OLD_MAC_FEATURES */
150
151
152 /* In addition to placing snippets of charstrings into subrs, I tried adding */
153 /* whole glyphs (when that was possible). To my surprise, it made things */
154 /* worse in one of my test cases, and barely registered an improvement in */
155 /* another. So I think we're better off without it. But I don't understand */
156 /* why things are worse so I'm leaving the code in to play with */
157 /* */
158 /* #define FONTFORGE_CONFIG_PS_REFS_GET_SUBRS */
159
160 #endif /* FONTFORGE_CONFIG_H */