Closed Bug 1831956 Opened 2 years ago Closed 2 years ago

Italic text displayed as Bold AND Italic, and messy

Categories

(Core :: Layout: Text and Fonts, defect)

Firefox 107
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: anixxsus, Unassigned)

Details

Attachments

(3 files)

Attached image Firefox

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0

Steps to reproduce:

This is how the Italic font displayed in Firefox, the font is both Bold and Italic (should be only Italic) and totally unreadable, the diacritics fuse with the next letter.

Page address: https://linguistics.stackexchange.com/questions/46452/besides-indo-pacific-and-australian-languages-does-anywhere-firewood-semantica

In MS Edge the font is displayed correctly.

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Text and Fonts' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

Thanks for the bug report.
Good-and-bad-news: I can't reproduce in Firefox 112 (current release) or 107 (the version you used to report the bug).

Before we investigate further, would you mind updating Firefox, and then seeing if you can still reproduce? (Firefox menu | Help | About should prompt it to check for updates, at which point you should get v112 (current release) or v113 (going out ~tomorrow).

Flags: needinfo?(anixxsus)

I can't seem to reproduce this either, unfortunately.
I wonder if there are any non-default settings at play? Could you take a look at about:config, searching for font and selecting Show only modified preferences, perhaps?
Interestingly, I reproduce the broken look in the screenshot by setting font-weight to 800, which selects "Segoe UI Black Italic" as opposed to "Segoe UI Italic" (Or Segoe UI Bold Italic).

There seem to be a couple of issues here. One is that in the Segoe UI Black Italic face, the glyph for U+02B7 MODIFIER LETTER SMALL W (ʷ) has an incorrect advance width of zero (as if it were a non-spacing diacritic) instead of its proper advance width. The same rendering, where ʷ overprints the following character, will appear in any browser if the font weight is set to 800 (or 900) such that the Black Italic face is used.

That's simply a bug in Microsoft's font, and would be best reported to them. The browser is just rendering what the font contains.

The other issue, which I don't currently understand, is why the reporter is getting the Black Italic face there instead of the (expected) regular-weight Italic. That doesn't happen for me.

It seems possible this might be caused if there are extra copies of some or all of the Segoe UI fonts installed somewhere; that might be leading to confusion among the various faces. @anixxsus, can you look in the Windows Settings at your installed fonts, and see what faces of Segoe UI are present? And if you open a Command Prompt window and run

dir c:\windows\fonts\seg*

what files are listed?

This confirms that the bad rendering of the modifier-letter w is a bug in the Black Italic face; all the other faces of Segoe UI display it as expected.

05.06.2021 15:05 283 820 segmdl2.ttf
05.06.2021 15:05 408 752 SegoeIcons.ttf
05.06.2021 15:05 168 404 segoepr.ttf
05.06.2021 15:05 167 800 segoeprb.ttf
05.06.2021 15:05 596 948 segoesc.ttf
05.06.2021 15:05 581 252 segoescb.ttf
05.06.2021 15:05 955 804 segoeui.ttf
05.06.2021 15:05 951 724 segoeuib.ttf
05.06.2021 15:05 529 712 segoeuii.ttf
05.06.2021 15:05 913 712 segoeuil.ttf
05.06.2021 15:05 854 140 segoeuisl.ttf
05.06.2021 15:05 541 468 segoeuiz.ttf
05.06.2021 15:05 324 260 seguibl.ttf
05.06.2021 15:05 356 008 seguibli.ttf
01.08.2022 18:23 2 766 328 seguiemj.ttf
05.06.2021 15:05 1 604 572 seguihis.ttf
05.06.2021 15:05 459 940 seguili.ttf
05.06.2021 15:05 971 080 seguisb.ttf
05.06.2021 15:05 457 892 seguisbi.ttf
05.06.2021 15:05 467 180 seguisli.ttf
05.06.2021 15:05 2 454 728 seguisym.ttf
05.06.2021 15:05 1 845 712 SegUIVar.ttf

Flags: needinfo?(anixxsus)

Interesting - most of those match what I see on my Win10 machine, but there are a few differences. In particular, I don't have SegUIVar.ttf at all. That sounds like it's probably a variation font; I wonder if it is somehow causing confusion.

Could you confirm exactly what version of Windows you're using, please?

Flags: needinfo?(anixxsus)

(In reply to Jonathan Kew [:jfkthame] from comment #8)

Interesting - most of those match what I see on my Win10 machine, but there are a few differences. In particular, I don't have SegUIVar.ttf at all. That sounds like it's probably a variation font; I wonder if it is somehow causing confusion.

I have that font locally (and my listing matches comment 7), in a Windows 11 disposable test-VM from https://developer.microsoft.com/en-us/windows/downloads/virtual-machines/ (though I can't reproduce the unwanted-boldness-bug in that VM; Firefox and Edge both render the affected page the same for me, with regular-looking italic text).

So I think the font file listing from comment 7 is "usual"/standard for Windows 11 at least (and not sufficient to trigger the bug).

Segoe UI Variable family is indeed added in Windows 11, as confirmed by Microsoft docs.

The unwanted boldness is still an issue, however.

A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.

For more information, please visit BugBot documentation.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(anixxsus)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: