mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
main: font metrics should be debug logged
This commit is contained in:
parent
8acc3b891d
commit
6c2fe303c1
1 changed files with 1 additions and 3 deletions
4
main.c
4
main.c
|
|
@ -277,8 +277,6 @@ main(int argc, char *const *argv)
|
||||||
{NULL, no_argument, 0, 0},
|
{NULL, no_argument, 0, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
//const char *font_name = "monospace";
|
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
int c = getopt_long(argc, argv, ":t:f:h", longopts, NULL);
|
int c = getopt_long(argc, argv, ":t:f:h", longopts, NULL);
|
||||||
if (c == -1)
|
if (c == -1)
|
||||||
|
|
@ -500,7 +498,7 @@ main(int argc, char *const *argv)
|
||||||
term.fextents.ascent = ascent;
|
term.fextents.ascent = ascent;
|
||||||
term.fextents.max_x_advance = max_x_advance;
|
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);
|
height, descent, ascent, max_x_advance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue