Re-use `translateOffsets` utility to simplify PDF anchoring code
Re-use this utility to translate offsets between the original page text and the whitespace-stripped version of the page text. This allows the `stripSpaces` helper to be simplified and avoids creating some offset arrays that are unused.
Showing
Please register or sign in to comment