|
1 | 1 | project('harfbuzz', ['c', 'cpp'], |
2 | 2 | meson_version: '>= 0.60.0', |
3 | | - version: '11.2.0', |
| 3 | + version: '11.2.1', |
4 | 4 | default_options: [ |
5 | 5 | 'cpp_eh=none', # Just to support msvc, we are passing -fno-exceptions also anyway |
6 | 6 | # 'cpp_rtti=false', # Do NOT enable, wraps inherit it and ICU needs RTTI |
@@ -205,6 +205,12 @@ if get_option('fontations').enabled() |
205 | 205 | fontations_dep_found = true |
206 | 206 | endif |
207 | 207 |
|
| 208 | +harfruzz_dep_found = false |
| 209 | +if get_option('harfruzz').enabled() |
| 210 | + add_languages(['rust'], native: false, required : true) |
| 211 | + harfruzz_dep_found = true |
| 212 | +endif |
| 213 | + |
208 | 214 | conf = configuration_data() |
209 | 215 | incconfig = include_directories('.') |
210 | 216 |
|
@@ -250,6 +256,10 @@ if fontations_dep_found |
250 | 256 | conf.set('HAVE_FONTATIONS', 1) |
251 | 257 | endif |
252 | 258 |
|
| 259 | +if harfruzz_dep_found |
| 260 | + conf.set('HAVE_HARFRUZZ', 1) |
| 261 | +endif |
| 262 | + |
253 | 263 | if wasm_dep.found() |
254 | 264 | conf.set('HAVE_WASM', 1) |
255 | 265 | conf.set('HB_WASM_MODULE_DIR', '"'+get_option('prefix')+'/'+get_option('libdir')+'/harfbuzz/wasm"') |
@@ -479,8 +489,9 @@ build_summary = { |
479 | 489 | }, |
480 | 490 | 'Platform shapers (not normally needed)': |
481 | 491 | {'CoreText': conf.get('HAVE_CORETEXT', 0) == 1, |
482 | | - 'DirectWrite (experimental)': conf.get('HAVE_DIRECTWRITE', 0) == 1, |
| 492 | + 'DirectWrite': conf.get('HAVE_DIRECTWRITE', 0) == 1, |
483 | 493 | 'GDI/Uniscribe': (conf.get('HAVE_GDI', 0) == 1) and (conf.get('HAVE_UNISCRIBE', 0) == 1), |
| 494 | + 'HarfRuzz': conf.get('HAVE_HARFRUZZ', 0) == 1, |
484 | 495 | }, |
485 | 496 | 'Other features': |
486 | 497 | {'Documentation': conf.get('HAVE_GTK_DOC', 0) == 1, |
|
0 commit comments