mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Use the correct dimension to know if we have to add an EOL in vertical mode
This commit is contained in:
parent
290cbc5232
commit
9bb636402a
1 changed files with 1 additions and 1 deletions
|
@ -2476,7 +2476,7 @@ class PartialEvaluator {
|
|||
return;
|
||||
}
|
||||
|
||||
if (Math.abs(advanceX) > textContentItem.height) {
|
||||
if (Math.abs(advanceX) > textContentItem.width) {
|
||||
appendEOL();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue