tor-browser

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

hb-features.h.in (2661B)


      1 /*
      2  * Copyright © 2022 Red Hat, 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 
     25 #ifndef HB_FEATURES_H
     26 #define HB_FEATURES_H
     27 
     28 HB_BEGIN_DECLS
     29 
     30 /**
     31  * SECTION: hb-features
     32  * @title: hb-features
     33  * @short_description: Feature detection
     34  * @include: hb-features.h
     35  *
     36  * Macros for detecting optional HarfBuzz features at build time.
     37  **/
     38 
     39 /**
     40  * HB_HAS_CAIRO:
     41  *
     42  * Defined if Harfbuzz has been built with cairo support.
     43  */
     44 #mesondefine HB_HAS_CAIRO
     45 
     46 /**
     47  * HB_HAS_CORETEXT:
     48  *
     49  * Defined if Harfbuzz has been built with CoreText support.
     50  */
     51 #mesondefine HB_HAS_CORETEXT
     52 
     53 /**
     54  * HB_HAS_DIRECTWRITE:
     55  *
     56  * Defined if Harfbuzz has been built with DirectWrite support.
     57  */
     58 #mesondefine HB_HAS_DIRECTWRITE
     59 
     60 /**
     61  * HB_HAS_FREETYPE:
     62  *
     63  * Defined if Harfbuzz has been built with Freetype support.
     64  */
     65 #mesondefine HB_HAS_FREETYPE
     66 
     67 /**
     68  * HB_HAS_GDI:
     69  *
     70  * Defined if Harfbuzz has been built with GDI support.
     71  */
     72 #mesondefine HB_HAS_GDI
     73 
     74 /**
     75  * HB_HAS_GLIB:
     76  *
     77  * Defined if Harfbuzz has been built with GLib support.
     78  */
     79 #mesondefine HB_HAS_GLIB
     80 
     81 /**
     82  * HB_HAS_GOBJECT:
     83  *
     84  * Defined if Harfbuzz has been built with GObject support.
     85  */
     86 #mesondefine HB_HAS_GOBJECT
     87 
     88 /**
     89  * HB_HAS_GRAPHITE:
     90  *
     91  * Defined if Harfbuzz has been built with Graphite support.
     92  */
     93 #mesondefine HB_HAS_GRAPHITE
     94 
     95 /**
     96  * HB_HAS_ICU:
     97  *
     98  * Defined if Harfbuzz has been built with ICU support.
     99  */
    100 #mesondefine HB_HAS_ICU
    101 
    102 /**
    103  * HB_HAS_UNISCRIBE:
    104  *
    105  * Defined if Harfbuzz has been built with Uniscribe support.
    106  */
    107 #mesondefine HB_HAS_UNISCRIBE
    108 
    109 /**
    110  * HB_HAS_WASM:
    111  *
    112  * Defined if Harfbuzz has been built with WebAssembly support.
    113  */
    114 #mesondefine HB_HAS_WASM
    115 
    116 
    117 HB_END_DECLS
    118 
    119 #endif /* HB_FEATURES_H */