2022-10-18 04:41:51 +02:00
|
|
|
/*
|
|
|
|
* Copyright © 2022 Red Hat, Inc.
|
|
|
|
*
|
|
|
|
* This is part of HarfBuzz, a text shaping library.
|
|
|
|
*
|
|
|
|
* Permission is hereby granted, without written agreement and without
|
|
|
|
* license or royalty fees, to use, copy, modify, and distribute this
|
|
|
|
* software and its documentation for any purpose, provided that the
|
|
|
|
* above copyright notice and the following two paragraphs appear in
|
|
|
|
* all copies of this software.
|
|
|
|
*
|
|
|
|
* IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR
|
|
|
|
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
|
|
|
|
* ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN
|
|
|
|
* IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
|
|
|
* DAMAGE.
|
|
|
|
*
|
|
|
|
* THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
|
|
|
|
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
|
|
|
|
* ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO
|
|
|
|
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef HB_FEATURES_H
|
|
|
|
#define HB_FEATURES_H
|
|
|
|
|
|
|
|
HB_BEGIN_DECLS
|
|
|
|
|
2023-01-19 19:11:35 +01:00
|
|
|
/**
|
|
|
|
* SECTION: hb-features
|
|
|
|
* @title: hb-features
|
|
|
|
* @short_description: Feature detection
|
|
|
|
* @include: hb-features.h
|
|
|
|
*
|
|
|
|
* Macros for detecting optional HarfBuzz features at build time.
|
|
|
|
**/
|
2022-10-18 04:41:51 +02:00
|
|
|
|
|
|
|
/**
|
2023-01-02 01:04:59 +01:00
|
|
|
* HB_HAS_CAIRO:
|
2022-10-18 04:41:51 +02:00
|
|
|
*
|
2023-01-02 01:04:59 +01:00
|
|
|
* Defined if Harfbuzz has been built with cairo support.
|
2022-10-18 04:41:51 +02:00
|
|
|
*/
|
2023-01-02 01:04:59 +01:00
|
|
|
#mesondefine HB_HAS_CAIRO
|
2022-10-18 04:41:51 +02:00
|
|
|
|
|
|
|
/**
|
2023-01-02 01:04:59 +01:00
|
|
|
* HB_HAS_CORETEXT:
|
2022-10-18 04:41:51 +02:00
|
|
|
*
|
2023-01-02 01:04:59 +01:00
|
|
|
* Defined if Harfbuzz has been built with CoreText support.
|
2022-10-18 04:41:51 +02:00
|
|
|
*/
|
2023-01-02 01:04:59 +01:00
|
|
|
#mesondefine HB_HAS_CORETEXT
|
2022-10-18 04:41:51 +02:00
|
|
|
|
|
|
|
/**
|
2023-01-02 01:04:59 +01:00
|
|
|
* HB_HAS_DIRECTWRITE:
|
2022-10-18 04:41:51 +02:00
|
|
|
*
|
2023-01-02 01:04:59 +01:00
|
|
|
* Defined if Harfbuzz has been built with DirectWrite support.
|
2022-10-18 04:41:51 +02:00
|
|
|
*/
|
2023-01-02 01:04:59 +01:00
|
|
|
#mesondefine HB_HAS_DIRECTWRITE
|
2022-10-18 04:41:51 +02:00
|
|
|
|
|
|
|
/**
|
2023-01-02 01:04:59 +01:00
|
|
|
* HB_HAS_FREETYPE:
|
2022-10-18 04:41:51 +02:00
|
|
|
*
|
2023-01-02 01:04:59 +01:00
|
|
|
* Defined if Harfbuzz has been built with Freetype support.
|
2022-10-18 04:41:51 +02:00
|
|
|
*/
|
2023-01-02 01:04:59 +01:00
|
|
|
#mesondefine HB_HAS_FREETYPE
|
2022-10-18 04:41:51 +02:00
|
|
|
|
|
|
|
/**
|
2023-01-02 01:04:59 +01:00
|
|
|
* HB_HAS_GDI:
|
2022-10-18 04:41:51 +02:00
|
|
|
*
|
2023-01-02 01:04:59 +01:00
|
|
|
* Defined if Harfbuzz has been built with GDI support.
|
2022-10-18 04:41:51 +02:00
|
|
|
*/
|
2023-01-02 01:04:59 +01:00
|
|
|
#mesondefine HB_HAS_GDI
|
2022-10-18 04:41:51 +02:00
|
|
|
|
|
|
|
/**
|
2023-01-02 01:04:59 +01:00
|
|
|
* HB_HAS_GLIB:
|
2022-10-18 04:41:51 +02:00
|
|
|
*
|
2023-01-02 01:04:59 +01:00
|
|
|
* Defined if Harfbuzz has been built with GLib support.
|
2022-10-18 04:41:51 +02:00
|
|
|
*/
|
2023-01-02 01:04:59 +01:00
|
|
|
#mesondefine HB_HAS_GLIB
|
2022-10-18 04:41:51 +02:00
|
|
|
|
2023-01-22 22:01:34 +01:00
|
|
|
/**
|
|
|
|
* HB_HAS_GOBJECT:
|
|
|
|
*
|
|
|
|
* Defined if Harfbuzz has been built with GObject support.
|
|
|
|
*/
|
|
|
|
#mesondefine HB_HAS_GOBJECT
|
|
|
|
|
2022-10-18 04:41:51 +02:00
|
|
|
/**
|
2023-01-02 01:04:59 +01:00
|
|
|
* HB_HAS_GRAPHITE:
|
2022-10-18 04:41:51 +02:00
|
|
|
*
|
2023-01-02 01:04:59 +01:00
|
|
|
* Defined if Harfbuzz has been built with Graphite support.
|
2022-10-18 04:41:51 +02:00
|
|
|
*/
|
2023-01-02 01:04:59 +01:00
|
|
|
#mesondefine HB_HAS_GRAPHITE
|
2022-10-18 04:41:51 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* HB_HAS_ICU:
|
|
|
|
*
|
|
|
|
* Defined if Harfbuzz has been built with ICU support.
|
|
|
|
*/
|
|
|
|
#mesondefine HB_HAS_ICU
|
|
|
|
|
2022-12-26 01:03:50 +01:00
|
|
|
/**
|
2023-01-02 01:04:59 +01:00
|
|
|
* HB_HAS_UNISCRIBE:
|
2022-12-26 01:03:50 +01:00
|
|
|
*
|
2023-01-02 01:04:59 +01:00
|
|
|
* Defined if Harfbuzz has been built with Uniscribe support.
|
2022-12-26 01:03:50 +01:00
|
|
|
*/
|
2023-01-02 01:04:59 +01:00
|
|
|
#mesondefine HB_HAS_UNISCRIBE
|
2022-12-26 01:03:50 +01:00
|
|
|
|
2022-10-18 04:41:51 +02:00
|
|
|
|
|
|
|
HB_END_DECLS
|
|
|
|
|
|
|
|
#endif /* HB_FEATURES_H */
|