diff --git a/src/font/mod.rs b/src/font/mod.rs index f6fb35a82..d5f231f3c 100644 --- a/src/font/mod.rs +++ b/src/font/mod.rs @@ -55,7 +55,7 @@ impl Default for FontSystemSelection { not(feature = "force-rusttype") )) { FontSystemSelection::FontConfigAndFreeType - } else if cfg!(all(windows, not(feature = "force-rusttype"))) { + } else if cfg!(not(feature = "force-rusttype")) { FontSystemSelection::FontLoaderAndFreeType } else { FontSystemSelection::FontLoaderAndRustType