From 5144004457ae958d8895de6c6dab8a5a1408b66f Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Fri, 11 Oct 2024 18:40:59 +0200 Subject: [PATCH] chore: log layout error --- lib/util/Text.js | 2 ++ 1 file changed, 2 insertions(+) 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 }; } }