Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong svg:tspan encoding #10261

Closed
valgussev opened this issue Nov 16, 2018 · 2 comments
Closed

Wrong svg:tspan encoding #10261

valgussev opened this issue Nov 16, 2018 · 2 comments

Comments

@valgussev
Copy link

valgussev commented Nov 16, 2018

Configuration:

  • Web browser and its version: Firefox 62, reproduces on others as well
  • Operating system and its version: Os X 10.13, reproduces on others as well
  • PDF.js version: pdfjs-dist: 2.0.943
  • Is a browser extension: no

What is the expected behavior? (add screenshot)
Render text with the right encoding

What went wrong? (add screenshot)
Text being rendered with the wrong encoding in the DOM tree, resulting in a wrong text browser search behaviour (ctrl + F).

<svg:tspan font-family="g_d0_f2" font-size="238.352px" y="0" x="0 132.523712 265.047424 344.41864 503.399424 675.489568 754.860784 887.384496 1019.908208 1152.43192" fill="rgb(0,0,0)"></svg:tspan>

If to open same file with Firefox browser, all the text will be found through browser search

@Snuffleupagus
Copy link
Collaborator

Duplicate of #10205.

@valgussev
Copy link
Author

Thanks for pointing out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants