blob: f079caf4d358406b6d2ab629737aea8548998093 [file] [log] [blame]
Behdad Esfahbod8fe4c742012-07-24 21:05:12 -04001/*
2 * Copyright © 2012 Google, Inc.
3 *
4 * This is part of HarfBuzz, a text shaping library.
5 *
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.
11 *
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
16 * DAMAGE.
17 *
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.
23 *
24 * Google Author(s): Behdad Esfahbod
25 */
26
Behdad Esfahbod027857d2012-07-26 17:34:25 -040027#ifndef HB_SHAPER_LIST_HH
28#define HB_SHAPER_LIST_HH
29#endif /* HB_SHAPER_LIST_HH */ /* Dummy header guards */
Behdad Esfahbod8fe4c742012-07-24 21:05:12 -040030
Behdad Esfahbod9d5b5342019-06-26 13:58:40 -070031#ifndef HB_NO_SHAPER
32
33
Behdad Esfahbod027857d2012-07-26 17:34:25 -040034/* v--- Add new shapers in the right place here. */
Behdad Esfahbod3cec8192012-11-15 13:15:39 -080035
Behdad Esfahbod425fc7f2023-02-22 12:19:06 -070036#ifdef HAVE_WASM
37/* Only picks up fonts that have a "Wasm" table. */
38HB_SHAPER_IMPLEMENT (wasm)
39#endif
40
Behdad Esfahbode4992e12012-08-06 19:25:39 -070041#ifdef HAVE_GRAPHITE2
Behdad Esfahbod3cec8192012-11-15 13:15:39 -080042/* Only picks up fonts that have a "Silf" table. */
Behdad Esfahbod027857d2012-07-26 17:34:25 -040043HB_SHAPER_IMPLEMENT (graphite2)
44#endif
Behdad Esfahbod8fe4c742012-07-24 21:05:12 -040045
Behdad Esfahbod7aad5362019-06-26 13:21:03 -070046#ifndef HB_NO_OT_SHAPE
Behdad Esfahbod33cc3122023-02-22 12:03:30 -070047HB_SHAPER_IMPLEMENT (ot) /* <--- This is our main shaper. */
Behdad Esfahbod7aad5362019-06-26 13:21:03 -070048#endif
Behdad Esfahbod8fe4c742012-07-24 21:05:12 -040049
Behdad Esfahbod3cec8192012-11-15 13:15:39 -080050#ifdef HAVE_UNISCRIBE
51HB_SHAPER_IMPLEMENT (uniscribe)
52#endif
Ebrahim Byagowif35b3e92015-09-11 09:48:12 +043053#ifdef HAVE_DIRECTWRITE
54HB_SHAPER_IMPLEMENT (directwrite)
55#endif
Behdad Esfahbod3cec8192012-11-15 13:15:39 -080056#ifdef HAVE_CORETEXT
57HB_SHAPER_IMPLEMENT (coretext)
58#endif
Behdad Esfahbod2f7586c2012-08-23 23:59:55 -040059
Behdad Esfahbod23768a92019-06-17 20:29:29 -070060#ifndef HB_NO_FALLBACK_SHAPE
Behdad Esfahbod027857d2012-07-26 17:34:25 -040061HB_SHAPER_IMPLEMENT (fallback) /* <--- This should be last. */
Konstantin Rittc9522de2014-01-22 21:07:13 +020062#endif
Behdad Esfahbod9d5b5342019-06-26 13:58:40 -070063
64
65#endif