diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-08-21 15:55:40 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-08-21 15:55:40 +0000 |
| commit | 3efc30c6a15f5ad97fadec4863f4286aaeb908c4 (patch) | |
| tree | 6256044f31d6d495273319f7de513c8925c68c31 | |
| parent | main: don't set scale before we know what it actually should be (diff) | |
main: fix debug logs
| -rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -566,7 +566,7 @@ main(int argc, char *const *argv) f->underline.thickness = fabs(round(descent / 5.)); } - LOG_DBG("underline: pos=%f, thick=%f", + LOG_DBG("underline: pos=%d, thick=%d", f->underline.position, f->underline.thickness); TT_OS2 *os2 = FT_Get_Sfnt_Table(ft_face, ft_sfnt_os2); @@ -580,7 +580,7 @@ main(int argc, char *const *argv) f->strikeout.thickness = f->underline.thickness; } - LOG_DBG("strikeout: pos=%f, thick=%f", + LOG_DBG("strikeout: pos=%d, thick=%d", f->strikeout.position, f->strikeout.thickness); } @@ -602,6 +602,7 @@ main(int argc, char *const *argv) term.cell_width = (int)ceil(term.fextents.max_x_advance); term.cell_height = (int)ceil(term.fextents.height); + LOG_DBG("cell width=%d, height=%d", term.cell_width, term.cell_height); term.wl.display = wl_display_connect(NULL); if (term.wl.display == NULL) { |
