Skip to content

[Bug]: When zoomed less than 100%, text looks better in other PDF renderers #22010

Description

@Gitoffthelawn

Attach (recommended) or Link to PDF file

https://web.archive.org/web/20260923074117/https://www.rehabmart.com/pdfs/habitat_white_nose_machine_-_users_manual.pdf

Web browser and its version

Firefox 156.0.1

Operating system and its version

Windows 11

PDF.js version

6.3.237

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Set up a Windows 11 test environment on a 1920x1080 screen.
  2. Set Windows 11 scaling to 100% (default).
  3. Install PDF-XChange Editor v11.0.1 (current release) via https://www.pdf-xchange.com/product/downloads
  4. Launch Firefox 156.0.1
  5. In Firefox, open https://web.archive.org/web/20260923074117/https://www.rehabmart.com/pdfs/habitat_white_nose_machine_-_users_manual.pdf
  6. Ensure the PDF zoom in Firefox is set to "Page Fit".
  7. Download the PDF file via Firefox.
  8. Open the downloaded PDF file in PDF-XChange Editor.
  9. Ensure the PDF zoom in PDF-XChange Editor is set to "Fit Page".
  10. Switch between the PDF open in Firefox vs the same PDF open in PDF-XChange Editor.
  11. Notice that the text looks significantly less clear in Firefox.
  12. Experiment with different zoom levels.
  13. Notice that the text looks significantly less clear in Firefox at all/most zoom levels under 100%.

What is the expected behavior?

Text to look at least as good in Firefox.

What went wrong?

Text doesn't look as good in Firefox.

Link to a viewer

No response

Additional context

Thank you for pdf.js - overall, it is amazingly impressive!

Activity

  1. Snuffleupagus commented on Sep 23, 2026

    @Snuffleupagus
    Collaborator

    What is the expected behavior?

    Text to look at least as good in Firefox.

    What went wrong?

    Text doesn't look as good in Firefox.

    Please provide comparative screenshots (which the ISSUE_TEMPLATE asks for).

  2. Gitoffthelawn commented on Sep 23, 2026

    @Gitoffthelawn
    Author

    What is the expected behavior?

    Text to look at least as good in Firefox.

    What went wrong?

    Text doesn't look as good in Firefox.

    Please provide comparative screenshots (which the ISSUE_TEMPLATE asks for).

    Counsel has advised to not comply with that request.

    The fastest, simplest, and most respectful way to proceed is to follow the instructions provided in the bug report. I spent my limited free time writing it up to help the team at Mozilla. Thanks.

  3. Snuffleupagus commented on Sep 24, 2026

    @Snuffleupagus
    Collaborator

    In its current form the only way to try to reproduce this issue is by downloading and running an "arbitrary" executable file, which people might be somewhat reluctant to actually do (for obvious security reasons).

    Please also consider the imbalance here: Most users report maybe a handful of issues in total over a period of a few years, whereas (unpaid) contributors will triage more issues than that in just a single week. Hence a few extra minutes spent on the part of the reporter helps save a lot of time for the few contributors triaging issues.

    The fastest, simplest, and most respectful way to proceed is to follow the instructions provided in the bug report. I spent my limited free time writing it up to help the team at Mozilla.

    It seems slightly strange to expect that other people respect your time, when you aren't willing to extend the same courtesy to PDF.js contributors (such as myself).
    I also spent my limited free time by trying to triage this issue, in addition to having fixed (for free) well over a thousand bugs over the years.

  4. Gitoffthelawn commented on Sep 24, 2026

    @Gitoffthelawn
    Author

    I have provided over 2500 detailed issue reports for open source and commercial projects, with over 1400 issues reported right here on GitHub. There is no imbalance. This is the only project, sadly, on which I've received any blowback or lack of even an iota of appreciation.

    I already explained that counsel has advised to not comply to your request. It's out of my hands. It's nothing personal, nor reflective of my desire to help Mozilla. It's also certainly not reflective of my personal courtesy I have afforded Mozilla for decades.

  5. timvandermeij commented on Oct 2, 2026

    @timvandermeij
    Collaborator

    This is PDF.js at 20%:

    Image

    This is Okular at 20%:

    Image

    Going by this I see some difference but I can't really say it's significant. It looks like Okular's rendering is a little bit better, but then again the rendering of 20% isn't equal in both applications, so the Okular version is also a bit bigger and thus inherently clearer. I can't compare with PDF-XChange given that it's Windows-only and I only run Linux (this is one of the reasons we ask for screenshots to be provided). It'd be great if someone could provide the PDFX-Change screenshot here too for comparison.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions