The patch doesn't work when the ActualText span contains more than one glyph. There is a test case in the test suite that demonstrates the problem:
http://cgit.freedesktop.org/poppler/test/tree/unittestcases/WithActualText.pdf
The patch doesn't work when the ActualText span contains more than one glyph. There is a test case in the test suite that demonstrates the problem:
http:// cgit.freedeskto p.org/poppler/ test/tree/ unittestcases/ WithActualText. pdf