mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 18:25:37 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Math.abs(advanceX) > textContentItem.height) {
|
if (Math.abs(advanceX) > textContentItem.width) {
|
||||||
appendEOL();
|
appendEOL();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue