Highlight font formatting and style
Before you start - checklist
- [X] I followed instructions in documentation written for my React-PDF version
- [X] I have checked if this bug is not already reported
- [X] I have checked if an issue is not listed in Known issues
- [X] If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo
Description
When I run search in the pdf.js the highlight works nicely, the font is the same as the pdf and the styling looks correct.
when I do the same based on Wiki the fonts are inconsistent, and the highlight is a bit of
Steps to reproduce
Run the example form the Wiki https://github.com/wojtekmaj/react-pdf/wiki/Recipes
Expected behaviour
The highlight fonts should follow the document fonts.
Actual behaviour
The size & style of the font is inconsistent.
Additional information
No response
Environment
All latest.
The same happens when the text is selected:
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.
+1 on this. Am seeing similar issues on some documents
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.
This issue was closed because it has been stalled for 14 days with no activity.