1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Ignore position of combining diacritics when getting text (bug 1640217)

This commit is contained in:
Calixte Denizet 2023-02-09 17:05:22 +01:00
parent ff3b9ccf6e
commit 4e9f26afa3
2 changed files with 39 additions and 1 deletions

View file

@ -2821,7 +2821,7 @@ class PartialEvaluator {
continue;
}
if (!compareWithLastPosition()) {
if (!category.isZeroWidthDiacritic && !compareWithLastPosition()) {
// The glyph is not in page so just skip it.
continue;
}