mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
typo in loading emoji font for linux
This commit is contained in:
@ -300,11 +300,11 @@ pub fn init(
|
|||||||
// Emoji fallback. We don't include this on Mac since Mac is expected
|
// Emoji fallback. We don't include this on Mac since Mac is expected
|
||||||
// to always have the Apple Emoji available on the system.
|
// to always have the Apple Emoji available on the system.
|
||||||
if (builtin.os.tag != .macos or font.Discover == void) {
|
if (builtin.os.tag != .macos or font.Discover == void) {
|
||||||
try group.addFace(
|
_ = try group.addFace(
|
||||||
.regular,
|
.regular,
|
||||||
.{ .loaded = try font.Face.init(font_lib, face_emoji_ttf, font_size) },
|
.{ .loaded = try font.Face.init(font_lib, face_emoji_ttf, font_size) },
|
||||||
);
|
);
|
||||||
try group.addFace(
|
_ = try group.addFace(
|
||||||
.regular,
|
.regular,
|
||||||
.{ .loaded = try font.Face.init(font_lib, face_emoji_text_ttf, font_size) },
|
.{ .loaded = try font.Face.init(font_lib, face_emoji_text_ttf, font_size) },
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user