hb-features.h 2.5 KB

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