mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 08:46:08 +03:00
Merge pull request #1428 from mitchellh/freetype-bitmap
font/freetype: disallow bitmap strikes in scalable fonts
This commit is contained in:
@ -232,6 +232,11 @@ pub const Face = struct {
|
||||
try self.face.loadGlyph(glyph_index, .{
|
||||
.render = true,
|
||||
.color = self.face.hasColor(),
|
||||
|
||||
// Disable bitmap strikes for now since it causes issues with
|
||||
// our cell metrics and rasterization. In the future, this is
|
||||
// all fixable so we can enable it.
|
||||
.no_bitmap = true,
|
||||
});
|
||||
|
||||
const glyph = self.face.handle.*.glyph;
|
||||
|
Reference in New Issue
Block a user