-
Notifications
You must be signed in to change notification settings - Fork 918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back arrow on 404 page is bottom-aligned #15791
Comments
FWIW the UTF codepoint that we're currently using here is this one: |
Chances are the glyph is not even part of that font, and it's some kind of a fallback, picking up something from the stack like Arial or Helvetica. @dholbert Out of curiosity, if you change the page lang to /cs/ or /ar/ does anything change for you regarding this arrow? This is how it looks on macOS 15 fwiw: (gecko left, webkit right) |
You're right - it looks like the arrow is from Liberation Sans. https://www.mozilla.org/cs/bogus-not-a-real-page/ renders with a different, bigger arrow in Firefox and Chrome, which looks vertically centered to me. https://www.mozilla.org/ar/bogus-not-a-real-page/ renders with a different arrow that looks vertically centered in Firefox, but in Chrome I think I'm still getting the "Liberation Sans" bottom-aligned one. |
If I add
That lets us bypass |
I filed an issue in the Liberation Sans repo ( liberationfonts/liberation-fonts#71 ) to see if they might want to adjust their version of this glyph to make it more centered. Not holding my breath, since it looks like the last commit in that repo was 3 years ago. :) So we might still want to consider working around this on mozilla.org as well (by e.g. specifying a generic font family -- and not Arial -- for this backarrow, per my previous comment.) |
Description
The
<-- Go back
message on the mozilla.org 404 page has the back-arrow awkwardly positioned at the bottom of the line right now.I think this is really a bug/quirk of the new "Mozilla Text" font, so I'll try to find the right place to report it as a font bug, but for now I'm filing it as a site bug since it's visible on the site.EDIT: As discovered in comments below, we're picking this glyph up from "Liberation Sans", which is the default substitution for Arial on Ubuntu.
Steps to reproduce
Expected result
You should see "Go back" with a vertically-centered arrow next to it.
Actual result
The arrow looks awkwardly not-centered; it's noticeably too far down.
Environment
Firefox 135.0a1 (2024-12-23) on Ubuntu 24.10
Chrome 133.0.6888.2 (Official Build) dev (64-bit)
(i.e. this isn't a browser-specific behavior)
The text was updated successfully, but these errors were encountered: