Apply fallback font to more Unices

- DragonFly, FreeBSD, NetBSD, OpenBSD all use fontconfig
- Solaris-based systems use fontconfig
This commit is contained in:
Jan Beich 2024-12-13 04:19:56 +01:00 committed by Jeremy Soller
parent 252078cfe4
commit 829a59bd95

View file

@ -9,7 +9,7 @@ use crate::{Font, FontMatchKey, FontSystem, ShapeBuffer};
use self::platform::*;
#[cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows",)))]
#[cfg(not(any(unix, target_os = "windows")))]
#[path = "other.rs"]
mod platform;
@ -17,7 +17,7 @@ mod platform;
#[path = "macos.rs"]
mod platform;
#[cfg(target_os = "linux")]
#[cfg(all(unix, not(any(target_os = "android", target_os = "macos"))))]
#[path = "unix.rs"]
mod platform;