From 6c2fe303c1ea51d1482c6c4d553e62b86183bacf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 30 Jul 2019 21:47:59 +0200 Subject: [PATCH] main: font metrics should be debug logged --- main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main.c b/main.c index 3228e8f8..c1182339 100644 --- a/main.c +++ b/main.c @@ -277,8 +277,6 @@ main(int argc, char *const *argv) {NULL, no_argument, 0, 0}, }; - //const char *font_name = "monospace"; - while (true) { int c = getopt_long(argc, argv, ":t:f:h", longopts, NULL); if (c == -1) @@ -500,7 +498,7 @@ main(int argc, char *const *argv) term.fextents.ascent = ascent; term.fextents.max_x_advance = max_x_advance; - LOG_WARN("metrics: height: %d, descent: %d, ascent: %d, x-advance: %d", + LOG_DBG("metrics: height: %d, descent: %d, ascent: %d, x-advance: %d", height, descent, ascent, max_x_advance); }