Remove buffer size debug print
This commit is contained in:
parent
4343a4a926
commit
64b44f4bce
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user