Skip to content

Commit

Permalink
Merge pull request #204 from kyasu1/Fix-incorrect-fontbbox
Browse files Browse the repository at this point in the history
Set FontBBox origin to zero
  • Loading branch information
fschutt authored Feb 4, 2025
2 parents e1bfdac + 38f82de commit ebe45a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ fn add_font_to_pdf(
"FontBBox",
Array(vec![
Integer(0),
Integer(prepared.max_height),
Integer(0),
Integer(prepared.total_width),
Integer(prepared.max_height),
]),
Expand Down

0 comments on commit ebe45a6

Please sign in to comment.