[harfrbuzz] s/harfRuzz/HarfRuzz/g

This commit is contained in:
Behdad Esfahbod committed 2025-05-06 10:54:16 -06:00
1 parent 8fa6c9a39e
commit e71bcaa873
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -491,7 +491,7 @@ build_summary = {
{'CoreText': conf.get('HAVE_CORETEXT', 0) == 1,
'DirectWrite (experimental)': conf.get('HAVE_DIRECTWRITE', 0) == 1,
'GDI/Uniscribe': (conf.get('HAVE_GDI', 0) == 1) and (conf.get('HAVE_UNISCRIBE', 0) == 1),
'harfRuzz': conf.get('HAVE_HARFRUZZ', 0) == 1,
'HarfRuzz': conf.get('HAVE_HARFRUZZ', 0) == 1,
},
'Other features':
{'Documentation': conf.get('HAVE_GTK_DOC', 0) == 1,
+1 -1
View File
@@ -24,7 +24,7 @@ option('directwrite', type: 'feature', value: 'disabled',
option('coretext', type: 'feature', value: 'disabled',
description: 'Enable CoreText shaper and font backend on Apple platforms')
option('harfruzz', type: 'feature', value: 'disabled',
description: 'Enable harfRuzz shaper backend')
description: 'Enable HarfRuzz shaper backend')
option('wasm', type: 'feature', value: 'disabled',
description: 'Enable WebAssembly shaper backend (experimental)')
+1 -1
View File
@@ -72,7 +72,7 @@ pub unsafe extern "C" fn _hb_harfruzz_shape_rs(
let script = hb_buffer_get_script(buffer);
let language = hb_buffer_get_language(buffer);
let direction = hb_buffer_get_direction(buffer);
// Convert to harfRuzz types
// Convert to HarfRuzz types
let script =
Script::from_iso15924_tag(Tag::from_u32(script)).unwrap_or(harfruzz::script::UNKNOWN);
let language_str = hb_language_to_string(language);