// SPDX-License-Identifier: MIT OR Apache-2.0 use std::sync::Arc; use unicode_script::Script; use crate::Font; use self::platform::*; #[cfg(not(any( target_os = "linux", target_os = "macos", target_os = "windows", )))] #[path = "other.rs"] mod platform; #[cfg(target_os = "macos")] #[path = "macos.rs"] mod platform; #[cfg(target_os = "linux")] #[path = "unix.rs"] mod platform; #[cfg(target_os = "windows")] #[path = "windows.rs"] mod platform; pub struct FontFallbackIter<'a> { fonts: &'a [Arc>], default_families: &'a [&'a str], default_i: usize, scripts: Vec