From e71bcaa873a076a375d2323992d65fad02fd1c13 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 6 May 2025 10:54:16 -0600 Subject: [PATCH] [harfrbuzz] s/harfRuzz/HarfRuzz/g --- meson.build | 2 +- meson_options.txt | 2 +- src/rust/shape.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index f4806ad49..58970bfef 100644 --- a/meson.build +++ b/meson.build @@ -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, diff --git a/meson_options.txt b/meson_options.txt index 4008e0036..691285354 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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)') diff --git a/src/rust/shape.rs b/src/rust/shape.rs index ba01c50d8..b9b41dbbb 100644 --- a/src/rust/shape.rs +++ b/src/rust/shape.rs @@ -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);