From 16cecc082aeb286e363049d367eedeefbc7940e2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 24 Sep 2023 09:05:40 -0700 Subject: [PATCH] font: fallback should not restrict to only monospace --- src/font/Group.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/font/Group.zig b/src/font/Group.zig index 404c3c322..e6ba73b13 100644 --- a/src/font/Group.zig +++ b/src/font/Group.zig @@ -257,6 +257,7 @@ pub fn indexForCodepoint( .size = self.size.points, .bold = style == .bold or style == .bold_italic, .italic = style == .italic or style == .bold_italic, + .monospace = false, }) catch break :discover; defer disco_it.deinit();