diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-30 19:47:59 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-30 19:47:59 +0000 |
| commit | 6c2fe303c1ea51d1482c6c4d553e62b86183bacf (patch) | |
| tree | 84c1ecaa786d61dd1ac09d59db6dc190942b51ed | |
| parent | vt: remove almost all abort() calls (diff) | |
main: font metrics should be debug logged
| -rw-r--r-- | main.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); } |
