mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
Merge pull request #543 from isinyaaa/push-lqtuszxmrkkp
quirks: CodeNewRoman should disable ligatures by default
This commit is contained in:
@ -19,9 +19,10 @@ pub fn disableDefaultFontFeatures(face: *const font.Face) bool {
|
||||
error.OutOfMemory => return false,
|
||||
};
|
||||
|
||||
// Menlo and Monaco both have a default ligature of "fi" that looks
|
||||
// really bad in terminal grids, so we want to disable ligatures
|
||||
// CodeNewRoman, Menlo and Monaco both have a default ligature of "fi" that
|
||||
// looks really bad in terminal grids, so we want to disable ligatures
|
||||
// by default for these faces.
|
||||
return std.mem.eql(u8, name, "Menlo") or
|
||||
return std.mem.eql(u8, name, "CodeNewRoman") or
|
||||
std.mem.eql(u8, name, "Menlo") or
|
||||
std.mem.eql(u8, name, "Monaco");
|
||||
}
|
||||
|
Reference in New Issue
Block a user