From 1c037f0a6e8a855cdd7c2c622647e6dc230ab40d Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Thu, 22 Jan 2026 09:54:18 -0700 Subject: [PATCH] Fix compilation with new cosmic_text --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 44b0043..6b558a9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1411,7 +1411,7 @@ impl Application for App { let mut font_system = font_system().write().unwrap(); let attrs = monospace_attrs(); for face in font_system.raw().db().faces() { - if attrs.matches(face) && face.monospaced { + if face.style == attrs.style && face.stretch == attrs.stretch && face.monospaced { //TODO: get localized name if possible let font_name = face .families