desktop icon indicating copy to clipboard operation
desktop copied to clipboard

PDF viewer renders text incorrectly

Open Robot-Inventor opened this issue 2 years ago • 9 comments

Captchas

  • [X] I have read the instructions.
  • [X] I have searched existing issues and avoided creating duplicates.
  • [X] I am not filing an enhancement request.

What happened?

Some text in the PDF file is not rendered correctly. This issue does not occur with all text and does not appear in Firefox.

As an example, I have attached screenshots showing the rendering issue when displaying the PDF file from the following URL.

https://www.stat.go.jp/data/jyutaku/2023/pdf/g_kekka.pdf

Zen Browser: Zen Browser

Firefox: Firefox

Reproducible?

  • [X] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.1-a.20

What platform are you seeing the problem on?

Windows

Relevant log output

No response

Robot-Inventor avatar Nov 28 '24 02:11 Robot-Inventor

Issue is still present on 1.0.2-b.0, and appears to have gotten worse. PDF displayed correctly on 1.0.1-a.20, but is now rendered incorrectly on 1.0.2-b.0.

Zen Browser 1.0.2-b.0: image

Firefox: image

jacobselbo avatar Dec 10 '24 15:12 jacobselbo

I've encountered this as well at https://tamsang-nyc.com/wp-content/uploads/2024/01/PDF1-7.pdf

Zen: Screenshot 2024-12-10 122735

Firefox: Screenshot 2024-12-10 123814

Slusho64 avatar Dec 10 '24 17:12 Slusho64

same issue here. Potential duplicated issue to #3537.

urbanlutz avatar Dec 11 '24 07:12 urbanlutz

Update: I seem to own an installation where this issue isn't present. Will investigate when I have time.

Edit: I have diffed prefs.js and there is nothing to indicate there should be a difference in font rendering between the two machines, so this likely doesn't have a "simple fix".

Edit 2: I tested on another machine and could not reproduce the bug either. I do know that the machines where the bug is not present are a laptop with an integrated amd radeon GPU and a desktop with a discrete nvidia GPU, while the machine where the bug is present is a dual GPU work laptop containing an integrated intel iris xe GPU and a nvidia discrete GPU. Does everyone else having this issue have a similar setup, or is this just a coincidence?

JSGRD22 avatar Dec 11 '24 14:12 JSGRD22

Coincidence, I have an integrated GPU on a laptop and the issue exists. #3537 brings up a good point though, I tried zooming out the pdf to 60% and the issue disappears with a pdf I showed. However the pdf by Slusho64 seems to not be fixed with zooming in/out

jacobselbo avatar Dec 11 '24 17:12 jacobselbo

I have same issue and it is English latter image

m7medVision avatar Dec 14 '24 16:12 m7medVision

This is the earliest issue I could find about this problem and duplicates should be linked here, so I’ll cover some extra info:

  • This issue is also present on google docs
  • Disabling hardware acceleration fixes this issue
  • Pinning “repair text encoding” to the toolbar via customise toolbar and clicking it fixes this issue, at least for me

JSGRD22 avatar Dec 17 '24 13:12 JSGRD22

Thanks, disabling hardware acceleration fixed it for me (it's in Settings > General > Performance > uncheck "Use recommended performance settings").

Slusho64 avatar Dec 17 '24 14:12 Slusho64

Closing this, let's keep it all in one thread #3541

syscat29 avatar Dec 17 '24 14:12 syscat29