Apply fallback font to more Unices
- DragonFly, FreeBSD, NetBSD, OpenBSD all use fontconfig - Solaris-based systems use fontconfig
This commit is contained in:
parent
252078cfe4
commit
829a59bd95
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue