From ce47bdb8745170cb7d9e782f0fc55838f9d952a2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 23 Jun 2023 13:18:14 -0700 Subject: [PATCH] log emoji font as info, log that fonts are using default --- src/Surface.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Surface.zig b/src/Surface.zig index 2a5a9f6a9..87a2d7c6a 100644 --- a/src/Surface.zig +++ b/src/Surface.zig @@ -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);