Remove buffer size debug print

This commit is contained in:
pjht 2024-09-15 11:49:13 -05:00
parent 4343a4a926
commit 64b44f4bce
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -203,13 +203,6 @@ impl FramebufferWriter {
.new_line_size .new_line_size
.ceil() as usize + 1; .ceil() as usize + 1;
let char_width = font.metrics('a', 12.0).advance_width.ceil() as usize; let char_width = font.metrics('a', 12.0).advance_width.ceil() as usize;
println!(
"Buffer is {}x{} px, ({} chars x {} lines)",
fbuf.xres,
fbuf.yres,
fbuf.xres / char_width,
fbuf.yres / line_height
);
Self { Self {
font, font,
layout, layout,