add CodeNewRoman Nerd Font to quirks

This commit is contained in:
Collin Dickert
2024-01-04 21:15:12 -05:00
parent 5edf04b8c1
commit 8a2a849cc8

View File

@ -23,6 +23,7 @@ pub fn disableDefaultFontFeatures(face: *const font.Face) bool {
// looks really bad in terminal grids, so we want to disable ligatures // looks really bad in terminal grids, so we want to disable ligatures
// by default for these faces. // by default for these faces.
return std.mem.eql(u8, name, "CodeNewRoman") or return std.mem.eql(u8, name, "CodeNewRoman") or
std.mem.eql(u8, name, "CodeNewRoman Nerd Font") or
std.mem.eql(u8, name, "Menlo") or std.mem.eql(u8, name, "Menlo") or
std.mem.eql(u8, name, "Monaco"); std.mem.eql(u8, name, "Monaco");
} }