Fonts: system_fallback visible to the module's tests

This commit is contained in:
Dylan M. Taylor
2026-11-11 20:48:51 +00:00
parent 21e6524f06
commit f64438122f
+1 -1
View File
@@ -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;
}