mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
font: SharedGridSet works without font discovery
This commit is contained in:
@ -233,7 +233,7 @@ fn collection(
|
|||||||
// people add other emoji fonts to their system, we always want to
|
// people add other emoji fonts to their system, we always want to
|
||||||
// prefer the official one. Users can override this by explicitly
|
// prefer the official one. Users can override this by explicitly
|
||||||
// specifying a font-family for emoji.
|
// specifying a font-family for emoji.
|
||||||
if (comptime builtin.target.isDarwin()) apple_emoji: {
|
if (comptime builtin.target.isDarwin() and Discover != void) apple_emoji: {
|
||||||
const disco = try self.discover() orelse break :apple_emoji;
|
const disco = try self.discover() orelse break :apple_emoji;
|
||||||
var disco_it = try disco.discover(self.alloc, .{
|
var disco_it = try disco.discover(self.alloc, .{
|
||||||
.family = "Apple Color Emoji",
|
.family = "Apple Color Emoji",
|
||||||
|
Reference in New Issue
Block a user