Closed Bug 1756310 Opened 4 years ago Closed 4 years ago

pre not correct display

Categories

(Core :: Graphics: Text, enhancement)

Firefox 97
enhancement

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: php.tux, Unassigned)

Details

Attachments

(1 file)

Attached image pre-bug.png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Firefox/97.0

Steps to reproduce:

I make a simple "pre" tag with followed code:

<pre>get_class_methods($class);</pre>

The closed bracket is displayed as a "|" displayed.

Expected results:

Browser: Firefox v97
OS: Linux Mint 20.2 / Linux-Kernel 5.4.0-100

Firefox is install via official repository.

Component: Untriaged → Graphics: Text
Product: Firefox → Core

This looks like a poorly-hinted (or unhinted) font, being displayed without antialiasing, and the glyph shapes just don't rasterize at all well. The closing parenthesis isn't the only poorly-rasterized glyph in the screenshot; the opening brace is quite bad, and some letters (see "A" and "x") are rough too.

I don't think this is really a Firefox bug; it's a poorly-configured font setup; the solution is to either choose a different monospaced font, or different font rendering settings in the desktop environment.

Yes, you're right. I changed the font from "Monserat" to "monospace". Everything is displayed correctly. I'm just surprised that it is displayed correctly in "Opera".

It's not a bug. It can be closed.

Based on comment 2 I will close this as worksforme.
Thanks.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: