Implemented point size
This commit is contained in:
@@ -114,8 +114,8 @@ fn main() {
|
||||
|
||||
bdf_file.push_str("STARTFONT 2.1\n");
|
||||
bdf_file.push_str("-u8g2_font_converted\n");
|
||||
let font_pt = header.bound_box_height * (72/96);
|
||||
bdf_file.push_str("SIZE 13 75 75\n");
|
||||
let font_pt = (header.bound_box_height * 3)/4;
|
||||
bdf_file.push_str(&format!("SIZE {} 96 96\n", font_pt));
|
||||
bdf_file.push_str(
|
||||
&format!(
|
||||
"FONTBOUNDINGBOX {} {} {} {}\n",
|
||||
|
||||
Reference in New Issue
Block a user