diff --git a/src/core/evaluator.js b/src/core/evaluator.js index 3e0dd8492..6a0d54035 100644 --- a/src/core/evaluator.js +++ b/src/core/evaluator.js @@ -2476,7 +2476,7 @@ class PartialEvaluator { return; } - if (Math.abs(advanceX) > textContentItem.height) { + if (Math.abs(advanceX) > textContentItem.width) { appendEOL(); return; }