2 * Copyright © 2022 Red Hat, 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.
31 * SECTION: hb-features
33 * @short_description: Feature detection
34 * @include: hb-features.h
36 * Macros for detecting optional HarfBuzz features at build time.
42 * Defined if Harfbuzz has been built with cairo support.
44 #mesondefine HB_HAS_CAIRO
49 * Defined if Harfbuzz has been built with CoreText support.
51 #mesondefine HB_HAS_CORETEXT
56 * Defined if Harfbuzz has been built with DirectWrite support.
58 #mesondefine HB_HAS_DIRECTWRITE
63 * Defined if Harfbuzz has been built with Freetype support.
65 #mesondefine HB_HAS_FREETYPE
70 * Defined if Harfbuzz has been built with GDI support.
72 #mesondefine HB_HAS_GDI
77 * Defined if Harfbuzz has been built with GLib support.
79 #mesondefine HB_HAS_GLIB
84 * Defined if Harfbuzz has been built with GObject support.
86 #mesondefine HB_HAS_GOBJECT
91 * Defined if Harfbuzz has been built with Graphite support.
93 #mesondefine HB_HAS_GRAPHITE
98 * Defined if Harfbuzz has been built with ICU support.
100 #mesondefine HB_HAS_ICU
105 * Defined if Harfbuzz has been built with Uniscribe support.
107 #mesondefine HB_HAS_UNISCRIBE
112 * Defined if Harfbuzz has been built with WebAssembly support.
114 #mesondefine HB_HAS_WASM
119 #endif /* HB_FEATURES_H */