pdf.js can't render selected characters properly
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
People
(Reporter: leichixian, Unassigned)
References
Details
(Whiteboard: [pdfjs-ux][pdfjs-text-selection])
Attachments
(2 files)
| Reporter | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
| Reporter | ||
Comment 3•10 years ago
|
||
| Reporter | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
| Reporter | ||
Comment 6•10 years ago
|
||
| Reporter | ||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
| Reporter | ||
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
| Reporter | ||
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•4 years ago
|
||
I know this is a very old report, but I cannot reproduce it on my end, and I'd like to close it if it doesn't occur anymore.
Have any of you guys experienced this issue on the latest Firefox versions?
Sorry for the old poke.
Comment 16•4 years ago
|
||
still exists in Firefox 95.0b11 64bit on Win10. same to comment 10.
Updated•4 years ago
|
Comment 17•4 years ago
|
||
The bug is fixed in
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
by:
Bug 1737299 - Update pdf.js to version 2.12.69 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D129280
see mozregression:
app_name: firefox
build_date: 2021-10-27 11:05:14.002000
build_file: C:\Users\kenan.bromann.mozilla\mozregression\persist\e783412ae439-shippable--autoland--target.zip
build_type: integration
build_url: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/byvGJp_iTmiDgZ02Z8SECA/runs/0/artifacts/public%2Fbuild%2Ftarget.zip
changeset: e783412ae4399677b30df41888617d8bac696cda
pushlog_url: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e783412ae4399677b30df41888617d8bac696cda&tochange=95d6b5368d6fe45f646aceaa33d489d0df75f7dd
repo_name: autoland
repo_url: https://hg.mozilla.org/integration/autoland
task_id: byvGJp_iTmiDgZ02Z8SECA
Bug 1737299 - Update pdf.js to version 2.12.69 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D129280
2021-12-10T21:26:47.276000: DEBUG : Did not find a branch, checking all integration branches
2021-12-10T21:26:47.278000: INFO : The bisection is done.
2021-12-10T21:26:47.279000: INFO : Stopped
Updated•4 years ago
|
Updated•4 years ago
|
Comment 18•4 years ago
|
||
I've attempted reproduction in ESR v91.4.1esr on Windows 10, Ubuntu 20.04.3 LTS and Mac OS 11.6.2 and I could only reproduce the original issue (the words being incorrectly visually selected upon double-clicking them) only on Ubuntu OS, however, I could see another problem, incapability to select words from specific paragraphs (like the first paragraph) on all 3 platforms types.
The original issue STILL OCCURS on the Ubuntu platform on ESR v91.5.0esr and Release v95.0.2.
The other issue no longer occurs in ESR v91.5.0esr on neither of the 3 platforms.
Steps:
- load the PDF in comment 4
- double-click the "OBLIGATORY" word from the second paragraph
actual: only "OBLIGATOR" is visually selected (the whole word is copied, so the problem is only on the visual selection).
expected: the whole word is selected: "OBLIGATORY".
Considering the originally reported issue is still visible in ESR v91.5.0esr and Release v95.0.2 on Ubuntu OS, I'm thinking of reopening this issue and specifying that it's Linux only. How do you want to proceed?
Comment 19•4 years ago
|
||
The highlightment mismatch is due to the fact that the font used in the text layer (an invisible div containing some spans containing themselves the text of the page) has very different metrics from the one use to render the text on the canvas.
It's a recurring problem and we'll try to find a solution.
Anyway :danibodea, yes we can keep this bug open: the original issue is still there.
Comment 20•4 years ago
|
||
Reopening based on the last 2 comments. Reproducible in all channels.
I will not set it as a Linux-specific bug since it might not be specific but somehow depend on the font customization of the system.
Updated•4 years ago
|
Description
•