hb-features.h.in 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. #if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
  25. #error "Include <hb.h> instead."
  26. #endif
  27. #ifndef HB_FEATURES_H
  28. #define HB_FEATURES_H
  29. #include "hb-common.h"
  30. HB_BEGIN_DECLS
  31. /**
  32. * HB_HAS_FREETYPE:
  33. *
  34. * Defined if Harfbuzz has been built with Freetype support.
  35. */
  36. #mesondefine HB_HAS_FREETYPE
  37. /**
  38. * HB_HAS_GDI:
  39. *
  40. * Defined if Harfbuzz has been built with GDI support.
  41. */
  42. #mesondefine HB_HAS_GDI
  43. /**
  44. * HB_HAS_GRAPHITE:
  45. *
  46. * Defined if Harfbuzz has been built with Graphite support.
  47. */
  48. #mesondefine HB_HAS_GRAPHITE
  49. /**
  50. * HB_HAS_GLIB:
  51. *
  52. * Defined if Harfbuzz has been built with GLib support.
  53. */
  54. #mesondefine HB_HAS_GLIB
  55. /**
  56. * HB_HAS_UNISCRIBE:
  57. *
  58. * Defined if Harfbuzz has been built with Uniscribe support.
  59. */
  60. #mesondefine HB_HAS_UNISCRIBE
  61. /**
  62. * HB_HAS_DIRECTWRITE:
  63. *
  64. * Defined if Harfbuzz has been built with DirectWrite support.
  65. */
  66. #mesondefine HB_HAS_DIRECTWRITE
  67. /**
  68. * HB_HAS_CORETEXT:
  69. *
  70. * Defined if Harfbuzz has been built with CoreText support.
  71. */
  72. #mesondefine HB_HAS_CORETEXT
  73. /**
  74. * HB_HAS_ICU:
  75. *
  76. * Defined if Harfbuzz has been built with ICU support.
  77. */
  78. #mesondefine HB_HAS_ICU
  79. HB_END_DECLS
  80. #endif /* HB_FEATURES_H */