mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 16:56:09 +03:00
log emoji font as info, log that fonts are using default
This commit is contained in:
@ -305,7 +305,7 @@ pub fn init(
|
|||||||
});
|
});
|
||||||
defer disco_it.deinit();
|
defer disco_it.deinit();
|
||||||
if (try disco_it.next()) |face| {
|
if (try disco_it.next()) |face| {
|
||||||
log.debug("font emoji: {s}", .{try face.name()});
|
log.info("font emoji: {s}", .{try face.name()});
|
||||||
try group.addFace(alloc, .regular, face);
|
try group.addFace(alloc, .regular, face);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -314,6 +314,8 @@ pub fn init(
|
|||||||
});
|
});
|
||||||
errdefer font_group.deinit(alloc);
|
errdefer font_group.deinit(alloc);
|
||||||
|
|
||||||
|
log.info("font loading complete, any non-logged faces are using the built-in font", .{});
|
||||||
|
|
||||||
// Pre-calculate our initial cell size ourselves.
|
// Pre-calculate our initial cell size ourselves.
|
||||||
const cell_size = try renderer.CellSize.init(alloc, font_group);
|
const cell_size = try renderer.CellSize.init(alloc, font_group);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user