mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
font/freetype: enable bitmap loading for colored faces
This commit is contained in:
@ -236,7 +236,10 @@ pub const Face = struct {
|
|||||||
// Disable bitmap strikes for now since it causes issues with
|
// Disable bitmap strikes for now since it causes issues with
|
||||||
// our cell metrics and rasterization. In the future, this is
|
// our cell metrics and rasterization. In the future, this is
|
||||||
// all fixable so we can enable it.
|
// all fixable so we can enable it.
|
||||||
.no_bitmap = true,
|
//
|
||||||
|
// This must be enabled for color faces though because those are
|
||||||
|
// often colored bitmaps, which we support.
|
||||||
|
.no_bitmap = !self.face.hasColor(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const glyph = self.face.handle.*.glyph;
|
const glyph = self.face.handle.*.glyph;
|
||||||
|
Reference in New Issue
Block a user