Wojciech Maj

Results 257 comments of Wojciech Maj

Does anyone have a reproducible CodeSandbox repo? I'm especially interested if this is still reproducible in v6.

I'm not able to reproduce this issue. Transforms are cleaned before TextLayerItem needs to recalculate them. Can you provide me with a CodeSandbox that shows the issue? TIA.

Any sample PDFs to reproduce this issue? BTW just landed #1019, this might fix it

@sborzova `6.0.0-beta.2` is the latest available release with this PDF.js update.

Guys, React-PDF `6.0.0-beta.3` was using PDF.js `2.14.305`. React-PDF `6.0.0-beta.4` and up (including final v6) uses `2.16.105`. Give v6 another try! If you're still experiencing this issue on v6, consider: *...

By default, text layer should be enabled (`renderTextLayer` should be `true`). Is that not the case?

I believe we don't have such information to play with. If you know the exact PDF file being rendered you can create a custom renderer that creates headings e.g. based...

Note to self: there's includeMarkedContent option in page.getTextContent. We would need to handle these items somehow though. Might also be fixed by #944.

Can you still see this in v6? PDF.js got updated in v6 so chances are the issues you're experiencing have been resolved by now.