mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #14266 from calixteman/bug931481
Don't consider space as real space when there is an extra spacing (bug 931481)
This commit is contained in:
commit
28fb3975eb
4 changed files with 38 additions and 1 deletions
|
@ -2573,7 +2573,8 @@ class PartialEvaluator {
|
|||
(i === 0 ||
|
||||
i + 1 === ii ||
|
||||
glyphs[i - 1].unicode === " " ||
|
||||
glyphs[i + 1].unicode === " ")
|
||||
glyphs[i + 1].unicode === " " ||
|
||||
extraSpacing)
|
||||
) {
|
||||
// Don't push a " " in the textContentItem
|
||||
// (except when it's between two non-spaces chars),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue