Closed Bug 1124912 Opened 10 years ago Closed 2 years ago

Bad kerning for a particular PDF document

Categories

(Firefox :: PDF Viewer, defect, P2)

35 Branch
x86
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 1766039

People

(Reporter: aros, Unassigned)

References

()

Details

(Whiteboard: [pdfjs-rendering][pdfjs-image-quality][pdfjs-hwa-off])

Attachments

(8 files)

Attached image kerning.png
User Agent: Mozilla/5.0 (X11; Linux i686; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20150108202552 Steps to reproduce: Opened http://us.download.nvidia.com/Windows/347.25/347.25-win8-win7-winvista-desktop-release-notes.pdf Actual results: Wrong/bad/missing kerning. Expected results: Sane kerning.
Component: Untriaged → PDF Viewer
Probably visible with HWA disabled.
Priority: -- → P3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-image-quality][pdfjs-d-hwa-off]
I couldn't reproduce it under Ubuntu 12.04 32-bit with Nightly 38.0a1, but I can see it under Win 7 64-bit with hwa off, confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
(In reply to Petruta Rasa [QA] [:petruta] from comment #4) I can reproduce it under CentOS 6.6, Firefox 36 beta 8, PDF Viewer 1.0.1141 (the last stable version at AMO doesn't work - btw it needs to be updated), binary NVIDIA drivers.
Still unresolved in Firefox 62 beta.
Severity: normal → major
Priority: P3 → P2

The PDF is correctly rendered in latest Nightly 96.0a1 under Win 7 x86 and Win 10 x64, HVA on/off, thus closing as RWFM.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
Attached image bug.png

Can't confirm.

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Attached file fonts.conf

Probably I have an unusual fonts.conf configuration, attaching it.

My distro is Fedora 35.

If Firefox is a Windows-only web browser you can go ahead and leave the bug report closed.

Looks good for me on Firefox 93 and latest Nightly 96.0a1 using Ubuntu 21.04 Wayland (I don't have access to Fedora), so I'm lowering the severity to S3.

Severity: major → S3
Whiteboard: [pdfjs-c-rendering][pdfjs-d-image-quality][pdfjs-d-hwa-off] → [pdfjs-rendering][pdfjs-image-quality][pdfjs-hwa-off]

This is still not fixed 8 years after I filed the bug report.

Attached image Firefox 102.png

Video_quality_evaluation_and_testing_verification_.pdf in Firefox 102.0.1

Attached image chrome.png

Video_quality_evaluation_and_testing_verification_.pdf in Google Chrome Version 103.0.5060.114 (Official Build) (64-bit)

This is still not fixed 8 years after I filed the bug report.

As mentioned here: https://github.com/mozilla/pdf.js/issues/2739#issuecomment-450633930, some fonts are not embedded in the pdf.
For example "Table of contents" on page 2 should be rendered in using Trebuchet MS but it isn't embedded, hence when drawing, the font in the canvas is set to TrebuchetMS, sans-serif and finally it depends on the fonts you've on your system.
So we can likely improve the way to find an alternative font (it's on our roadmap) but we aren't magicians: there are absolutely no way to guess how the glyphs look like just in using a font name.

Status: REOPENED → RESOLVED
Closed: 3 years ago2 years ago
Duplicate of bug: 1766039
Resolution: --- → DUPLICATE

I can confirm it's fixed in today's nightly.

Cannot comment on the parent bug unfortunately.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: