Skip to content

Commit

Permalink
Apply fallback font to more Unices
Browse files Browse the repository at this point in the history
- DragonFly, FreeBSD, NetBSD, OpenBSD all use fontconfig
- Solaris-based systems use fontconfig
  • Loading branch information
jbeich authored and jackpot51 committed Dec 22, 2024
1 parent 252078c commit 829a59b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/font/fallback/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ 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;

#[cfg(target_os = "macos")]
#[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;

Expand Down

0 comments on commit 829a59b

Please sign in to comment.