Open Bug 1627301 Opened 5 years ago Updated 5 years ago

Jagged fonts (test case attached) in exported pages from InDesign

Categories

(Core :: Graphics: Text, defect, P3)

74 Branch
defect

Tracking

()

People

(Reporter: yoasif, Unassigned)

Details

Attachments

(5 files)

Attached image firefox.png

Originally reported in: https://www.reddit.com/r/firefox/comments/fu608d/blurred_font/

Hey, I have a couple of .html pages which seem to have some render issues in Firefox. There are no troubles with the font in Chrome, Edge or even Internet Explorer ... actually it's just Firefox.

See screenshots.

Another user comments:

The problem seems to be with -webkit-perspective and transform: scale();.

Removing -webkit-perspective or setting it to 0, none or over 2730 and the text renders correctly.

<body>
  <div style="perspective: 1px;">
    <div style="transform: scale(0.95);">
      <p><span style="font-size: 20px;">The quick brown fox jumps over the lazy dog.</span></p>
    </div>
    <div>
      <p style="transform: scale(0.95);"><span style="font-size: 20px;">The quick brown fox jumps over the lazy dog.</span></p>
    </div>
  </div>
</body>

In above reduced test I can also fix it by moving the transform: scale(); to <p>.

Attached image chromium.png
Has STR: --- → yes

I'm guessing this is probably related to the use of transforms in the document, so that the text is actually rendered at a very different size from the nominal "font size" being used.

Attached file minimal.html

Adding a smaller testcase.

Asif, can we get the "about:support" info from the reporters?
I loaded the minimal.html in FF Nightly on WR and I'm not seeing any issues.

Flags: needinfo?(yoasif)
Priority: -- → P3
Attached file about:support
Interestingly, I see it without WR enabled (don't see it on Chromium).
Flags: needinfo?(yoasif)

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: