Skip to content

Commit

Permalink
chore: log layout error
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Oct 14, 2024
1 parent 27a6d4a commit 5144004
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/util/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ function getTextBBox(text, fakeText) {

return bbox;
} catch (e) {
console.log(e);

return { width: 0, height: 0 };
}
}
Expand Down

0 comments on commit 5144004

Please sign in to comment.