main: font metrics should be debug logged

This commit is contained in:
Daniel Eklöf 2019-07-30 21:47:59 +02:00
parent 8acc3b891d
commit 6c2fe303c1
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

4
main.c
View file

@ -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);
}