log emoji font as info, log that fonts are using default

This commit is contained in:
Mitchell Hashimoto
2023-06-23 13:18:14 -07:00
parent 1d45df17e4
commit ce47bdb874

View File

@ -305,7 +305,7 @@ pub fn init(
});
defer disco_it.deinit();
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);
}
}
@ -314,6 +314,8 @@ pub fn init(
});
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.
const cell_size = try renderer.CellSize.init(alloc, font_group);