From f64438122f617648ef6d8786599a64bf46507895 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Wed, 11 Nov 2026 20:48:51 +0000 Subject: [PATCH] Fonts: system_fallback visible to the module's tests --- crates/text/src/fontdb/lookup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/text/src/fontdb/lookup.rs b/crates/text/src/fontdb/lookup.rs index 18af244ed..fa91e9787 100644 --- a/crates/text/src/fontdb/lookup.rs +++ b/crates/text/src/fontdb/lookup.rs @@ -482,7 +482,7 @@ impl FontDb { /// Load a system font covering `c` (preferred fallback families first, then any cataloged /// file under 40 MB). Returns true if one was loaded. Misses are remembered. #[cfg(not(target_arch = "wasm32"))] - fn system_fallback(&self, c: char) -> bool { + pub(super) fn system_fallback(&self, c: char) -> bool { if c.is_control() || c.is_whitespace() { return false; }