Open Bug 1835965 Opened 2 years ago Updated 2 years ago

PDF rendering problem - inaccurately displays information

Categories

(Core :: Graphics: Canvas2D, defect)

Firefox 113
All
Android
defect

Tracking

()

UNCONFIRMED

People

(Reporter: nigelh747, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Attached file PDF document

User Agent: Mozilla/5.0 (Android 11; Mobile; rv:109.0) Gecko/113.0 Firefox/113.0

Steps to reproduce:

I clicked on the link from a newsletter with the link below
https://t.maybank-ib.com/redir.html?q=2ZK0671biYIqQDErg4hM5uT_Ye1GyAoD6Wg2wq8txuI&r=ADkIbDeh5hYTganCK0vwZrAO2EHxgGdCCMfuRr-h4ltZrUmxlwQAerON-s1Y_sij8w31th9kcQGIaPqJA9P4uQ
and the document was seen as per the screenshot.

I downloaded the document and opened it with the Drive PDF viewer and it displayed perfectly.

Expected results:

It should have displayed perfectly

What actually occurred

Another example
From the link at the bottom of the page at
https://investor.capitaland-ascendasreit.com/news.html/id/2442521
The screenshot has two missing 1s that means the values shown are S$100m Singapore
short.

See the screenshot and download file

Missing two 1s that makes the figures S$100m short in each case

Correct official form

Summary: PDF rendering problem → PDF rendering problem - inaccurately displays information

Calixte/Marco: is this Android-specific? Is this the right component?

Component: General → PDF Viewer
Flags: needinfo?(mcastelluccio)
Flags: needinfo?(cdenizet)
Product: Fenix → Firefox

(In reply to Andrew Overholt [:overholt] from comment #5)

Calixte/Marco: is this Android-specific? Is this the right component?

I just ran a quick test on the file with the missing numbers and it rendered properly with Firefox for Desktop.

I can't reproduce this on Android (tried both in Nightly and Release). Calixte, can you reproduce it?
Nigel, can you reproduce in Nightly as well?

Flags: needinfo?(mcastelluccio) → needinfo?(nigelh747)

Hi(In reply to Marco Castelluccio [:marco] from comment #7)

I can't reproduce this on Android (tried both in Nightly and Release). Calixte, can you reproduce it?
Nigel, can you reproduce in Nightly as well?

Just installed nightly on one of my Android devices and was able to reproduce the issue of missing ones in the link for CapitaLand

Flags: needinfo?(nigelh747)

I did discover that with nightly if you resize the document it refreshes what is displayed and the missing ones appear

I can't reproduce these issues with nightly on Windows 11 and it wfm either on a real pixel 7 device.
I wonder if it could be related to accelerated canvas.
:Nigel, in Nightly, could you open a tab with about:config, set the pref gfx.canvas.accelerated to false and open your pdfs ? Does it make a difference ?

Flags: needinfo?(cdenizet) → needinfo?(nigelh747)

(In reply to Calixte Denizet (:calixte) from comment #10)

I can't reproduce these issues with nightly on Windows 11 and it wfm either on a real pixel 7 device.
I wonder if it could be related to accelerated canvas.
:Nigel, in Nightly, could you open a tab with about:config, set the pref gfx.canvas.accelerated to false and open your pdfs ? Does it make a difference ?

I can reproduce on nightly on Android. I was not able to reproduce on a old Windows 10 desktop

Changing the setting as requested produced the correct information on the screen

Flags: needinfo?(nigelh747)
Blocks: gpu-canvas
Component: PDF Viewer → Graphics: Canvas2D
Product: Firefox → Core
Severity: -- → S3

:lsalzman, could you have a look please ?

Flags: needinfo?(lsalzman)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: