tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

hb-shaper-list.hh (2011B)


      1 /*
      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 
     27 #ifndef HB_SHAPER_LIST_HH
     28 #define HB_SHAPER_LIST_HH
     29 #endif /* HB_SHAPER_LIST_HH */ /* Dummy header guards */
     30 
     31 #ifndef HB_NO_SHAPER
     32 
     33 
     34 /* v--- Add new shapers in the right place here. */
     35 
     36 #ifdef HAVE_WASM
     37 /* Only picks up fonts that have a "Wasm" table. */
     38 HB_SHAPER_IMPLEMENT (wasm)
     39 #endif
     40 
     41 #ifdef HAVE_GRAPHITE2
     42 /* Only picks up fonts that have a "Silf" table. */
     43 HB_SHAPER_IMPLEMENT (graphite2)
     44 #endif
     45 
     46 #ifndef HB_NO_OT_SHAPE
     47 HB_SHAPER_IMPLEMENT (ot) /* <--- This is our main shaper. */
     48 #endif
     49 
     50 #ifdef HAVE_UNISCRIBE
     51 HB_SHAPER_IMPLEMENT (uniscribe)
     52 #endif
     53 #ifdef HAVE_DIRECTWRITE
     54 HB_SHAPER_IMPLEMENT (directwrite)
     55 #endif
     56 #ifdef HAVE_CORETEXT
     57 HB_SHAPER_IMPLEMENT (coretext)
     58 #endif
     59 
     60 #ifdef HAVE_HARFRUST
     61 HB_SHAPER_IMPLEMENT (harfrust)
     62 #endif
     63 
     64 #ifdef HAVE_KBTS
     65 HB_SHAPER_IMPLEMENT (kbts)
     66 #endif
     67 
     68 #ifndef HB_NO_FALLBACK_SHAPE
     69 HB_SHAPER_IMPLEMENT (fallback) /* <--- This should be last. */
     70 #endif
     71 
     72 
     73 #endif