diff --git a/crates/pstr-app/src/theme.rs b/crates/pstr-app/src/theme.rs index a595d94..9a83a63 100644 --- a/crates/pstr-app/src/theme.rs +++ b/crates/pstr-app/src/theme.rs @@ -277,6 +277,7 @@ fn cjk_font_data(bytes: Vec, index: u32) -> Option { /// Fedora's variable Noto Sans CJK answers 262144, instance 4 of face 0. The /// instance is not a face, and passing it to egui as one stopped the app at /// start. +#[cfg(any(target_os = "linux", test))] fn fontconfig_face(index: u32) -> u32 { index & 0xFFFF }