2 * Copyright © 2019 Facebook, Inc.
4 * This is part of HarfBuzz, a text shaping library.
6 * Permission is hereby granted, without written agreement and without
7 * license or royalty fees, to use, copy, modify, and distribute this
8 * software and its documentation for any purpose, provided that the
9 * above copyright notice and the following two paragraphs appear in
10 * all copies of this software.
12 * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
13 * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
14 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
15 * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
18 * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
19 * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20 * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
21 * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
22 * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
24 * Facebook Author(s): Behdad Esfahbod
30 #if 0 /* Make test happy. */
43 #define HB_NO_UCD_UNASSIGNED
47 #ifndef __OPTIMIZE_SIZE__
48 #define __OPTIMIZE_SIZE__
53 #define HB_DISABLE_DEPRECATED
56 #define HB_NO_BUFFER_MESSAGE
57 #define HB_NO_BUFFER_SERIALIZE
63 #define HB_NO_FACE_COLLECT_UNICODES
66 #define HB_NO_LANGUAGE_PRIVATE_SUBTAG
67 #define HB_NO_LAYOUT_FEATURE_PARAMS
68 #define HB_NO_LAYOUT_COLLECT_GLYPHS
69 #define HB_NO_LAYOUT_UNUSED
76 #define HB_NO_SETLOCALE
77 #define HB_NO_OT_FONT_GLYPH_NAMES
78 #define HB_NO_OT_SHAPE_FRACTIONS
80 #define HB_NO_SUBSET_LAYOUT
90 /* Closure of options. */
92 #ifdef HB_DISABLE_DEPRECATED
93 #define HB_IF_NOT_DEPRECATED(x)
95 #define HB_IF_NOT_DEPRECATED(x) x
99 #define HB_NO_OT_NAME_LANGUAGE_AAT
100 #define HB_NO_AAT_SHAPE
104 #define HB_NO_OT_FONT_BITMAP
108 #define HB_NO_OT_FONT_CFF
109 #define HB_NO_SUBSET_CFF
113 #define HB_NO_UNISCRIBE_BUG_COMPATIBLE
117 #define HB_NO_CMAP_LEGACY_SUBTABLES
118 #define HB_NO_FALLBACK_SHAPE
119 #define HB_NO_OT_KERN
120 #define HB_NO_OT_LAYOUT_BLACKLIST
121 #define HB_NO_OT_SHAPE_FALLBACK
125 #define HB_NO_OT_NAME_LANGUAGE
129 #define HB_NO_OT_FONT
130 #define HB_NO_OT_LAYOUT
132 #define HB_NO_OT_SHAPE
135 #ifdef HB_NO_OT_SHAPE
136 #define HB_NO_AAT_SHAPE
139 #ifdef HB_NO_OT_SHAPE_FALLBACK
140 #define HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK
141 #define HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK
142 #define HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK
143 #define HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS
152 #ifdef __OPTIMIZE_SIZE__
153 #ifndef HB_OPTIMIZE_SIZE
154 #define HB_OPTIMIZE_SIZE
158 #ifdef HAVE_CONFIG_OVERRIDE_H
159 #include "config-override.h"
163 #endif /* HB_CONFIG_HH */