mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 17:26:09 +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,
|
error.OutOfMemory => return false,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Menlo and Monaco both have a default ligature of "fi" that looks
|
// CodeNewRoman, Menlo and Monaco both have a default ligature of "fi" that
|
||||||
// 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, "Menlo") or
|
return std.mem.eql(u8, name, "CodeNewRoman") or
|
||||||
|
std.mem.eql(u8, name, "Menlo") or
|
||||||
std.mem.eql(u8, name, "Monaco");
|
std.mem.eql(u8, name, "Monaco");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user