feat: Make PDFRender Support non-latin characters #281
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description: This pull request adds some updates according https://github.com/wojtekmaj/react-pdf#support-for-annotations, which make PDFRender support for annotations, text layer and non-latin characters
before:
![before](https://private-user-images.githubusercontent.com/48916271/346868528-c1bf75aa-1245-460e-938a-22c843582790.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMxODQ1NDQsIm5iZiI6MTcyMzE4NDI0NCwicGF0aCI6Ii80ODkxNjI3MS8zNDY4Njg1MjgtYzFiZjc1YWEtMTI0NS00NjBlLTkzOGEtMjJjODQzNTgyNzkwLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA5VDA2MTcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZlYmQxYTg4ZGIyMGM5NGZhM2MwMzdkMzUzZmQyMTdmNTg0ZTQyOWIwODMyMzQ1YTc0YzFkOGQ2NjY1YzA2NmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Q2M6XIZPLW7_yOn6-kzM9Jtiuf7fgPljSEEuTVlCJQI)
after:
![after](https://private-user-images.githubusercontent.com/48916271/346868591-c8c0807d-c2e6-4dba-873b-0b177d9d43b2.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMxODQ1NDQsIm5iZiI6MTcyMzE4NDI0NCwicGF0aCI6Ii80ODkxNjI3MS8zNDY4Njg1OTEtYzhjMDgwN2QtYzJlNi00ZGJhLTg3M2ItMGIxNzdkOWQ0M2IyLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA5VDA2MTcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2Yjk3MTNhZTNiZjkwMDU1MmUxMDNlYTlmYzIyNGNkMDhiMDgwMjgzZTVkZjEwNDIwMmJlMDViMzMyMDQxYTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3U3noRvEekueyGneMTc2wa3nDoCzXay-51LfKK4Q0Sw)
Please review the changes and let me know if you have any feedback or questions. I'm happy to make any necessary updates.
Thank you for your time and consideration.