diff --git a/lib/util/Text.js b/lib/util/Text.js index c06b2150a..53cbbcf5d 100644 --- a/lib/util/Text.js +++ b/lib/util/Text.js @@ -134,6 +134,8 @@ function getTextBBox(text, fakeText) { return bbox; } catch (e) { + console.log(e); + return { width: 0, height: 0 }; } }