mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #10573 from Snuffleupagus/type3-avoid-truncation
Avoid truncating/breaking some Type3 glyphs in `compileType3Glyph` (bug 1245391, issue 10568)
This commit is contained in:
commit
af5597b7e5
4 changed files with 25528 additions and 1 deletions
|
@ -325,7 +325,10 @@ function compileType3Glyph(imgData) {
|
|||
|
||||
coords.push(p % width1);
|
||||
coords.push((p / width1) | 0);
|
||||
--count;
|
||||
|
||||
if (!points[p]) {
|
||||
--count;
|
||||
}
|
||||
} while (p0 !== p);
|
||||
outlines.push(coords);
|
||||
--i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue