Inconsistent thickness of underline [was: Hotkey underline is bold?]
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
People
(Reporter: jan, Unassigned)
Details
Attachments
(1 file)
|
60.04 KB,
image/png
|
Details |
Clicking on the padlock in the URL bar, then ">", then "More information" (sorry, can't screenshot before that popup closes) takes me to a "Page Info" dialog.
Is it just me, or is the underline under "View Saved Passwords" somehow bold-faced? How do you even do that?
This is on Ubuntu MATE 18.04, using Firefox 77.01 from the standard repository.
Comment 1•5 years ago
|
||
Looks okay on Windows, so moving to Core :: Widget: Gtk. It would be useful to know if you can reproduce this in the current version (78.0.2), and if yes, if the build from mozilla.org exhibits the same issue.
Comment 2•5 years ago
|
||
This is on Ubuntu MATE 18.04, using Firefox 77.01 from the standard repository.
Have you reported this to Ubuntu before, to make sure it's not broken fonts provided by Ubuntu?
No, I have not contacted Ubuntu on this. I can tell you my "Appearance" control panel lists my "Application Font" as "Ubuntu Regular"; I could try to switch this to something else and see if that matters.
Which font would you advise me to test with? (For the purpose of this test, it doesn't have to be a pretty one.)
Incidentally, on my work laptop I still have Firefox 76 and there the boldness of the underline of the "Clear cookies" seems to toggle on and off depending on the width of the window ... very strange.
I have just upgraded Firefox from 77 to 78, and it's still doing it.
I have, however, determined that switching my "Application Font" to "DeJa Vu Sans" resolves the matter, including the weird it-changes-when-the-window-is-resized behaviour.
If you want to blame this one on the Ubuntu Regular font and close the matter, that's fine with me.
Comment 5•5 years ago
|
||
Yes I'd like to blame Ubuntu's font for that, but glad you found the reason! :)
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Actually, I'd like to re-open this for further investigation. It's entirely possible the Ubuntu font specifies a fairly thick underline.... but what seems wrong is that in the screenshot, the underline is inconsistent between buttons where (presumably) the exact same font is being used. That shouldn't happen: for a given font, the underline thickness ought to be consistent everywhere.
I'm guessing this might be a problem with the elements being at non-integer-pixel positions, and the underline getting rounded to pixel rows in an inconsistent manner.
Comment 7•3 years ago
|
||
Interestingly, we also have a webcompat.com report with a Codepen example where (at least on some configs) the underline thickness specified in CSS will end up different, or even vanish as the font-size changes. I'm guessing it may be font-, OS-, or driver-specific, as I can't reproduce the issue on my Macbook.
Description
•