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
58 #define HB_NO_BUFFER_VERIFY
64 #define HB_NO_FACE_COLLECT_UNICODES
67 #define HB_NO_LANGUAGE_PRIVATE_SUBTAG
68 #define HB_NO_LAYOUT_FEATURE_PARAMS
69 #define HB_NO_LAYOUT_COLLECT_GLYPHS
70 #define HB_NO_LAYOUT_UNUSED
77 #define HB_NO_SETLOCALE
78 #define HB_NO_OT_FONT_GLYPH_NAMES
79 #define HB_NO_OT_SHAPE_FRACTIONS
81 #define HB_NO_SUBSET_LAYOUT
90 #if defined(HAVE_CONFIG_OVERRIDE_H) || defined(HB_CONFIG_OVERRIDE_H)
91 #ifndef HB_CONFIG_OVERRIDE_H
92 #define HB_CONFIG_OVERRIDE_H "config-override.h"
94 #include HB_CONFIG_OVERRIDE_H
97 /* Closure of options. */
99 #ifdef HB_DISABLE_DEPRECATED
100 #define HB_IF_NOT_DEPRECATED(x)
102 #define HB_IF_NOT_DEPRECATED(x) x
106 #define HB_NO_OT_NAME_LANGUAGE_AAT
107 #define HB_NO_AAT_SHAPE
111 #define HB_NO_OT_FONT_BITMAP
115 #define HB_NO_OT_FONT_CFF
116 #define HB_NO_SUBSET_CFF
120 #define HB_NO_UNISCRIBE_BUG_COMPATIBLE
124 #define HB_NO_CMAP_LEGACY_SUBTABLES
125 #define HB_NO_FALLBACK_SHAPE
126 #define HB_NO_OT_KERN
127 #define HB_NO_OT_LAYOUT_BLOCKLIST
128 #define HB_NO_OT_SHAPE_FALLBACK
132 #define HB_NO_OT_NAME_LANGUAGE
136 #define HB_NO_OT_FONT
137 #define HB_NO_OT_LAYOUT
139 #define HB_NO_OT_SHAPE
142 #ifdef HB_NO_OT_SHAPE
143 #define HB_NO_AAT_SHAPE
146 #ifdef HB_NO_OT_SHAPE_FALLBACK
147 #define HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK
148 #define HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK
149 #define HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK
150 #define HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS
159 #ifdef __OPTIMIZE_SIZE__
160 #ifndef HB_OPTIMIZE_SIZE
161 #define HB_OPTIMIZE_SIZE
166 #endif /* HB_CONFIG_HH */