Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibPDF: Apply all offsets of TJ operator
TJ acts on a list of either strings or numbers. The strings are drawn, and the numbers are treated as offsets. Previously, we'd only apply the last-seen number as offset when we saw a string. That had the effect of us ignoring all but the last number in front of a string, and ignoring numbers at the end of the list. Now, we apply all numbers as offsets. Our rendering of Tests/LibPDF/text.pdf now matches other PDF viewers.
- Loading branch information