-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Variable font not showing in color on Firefox macOS #248
Comments
Hi! Thanks for the report. This is a known bug in Firefox, it has come up before: The reason is the fact that the font contains a handful of SVG glyphs – Firefox automatically concludes that that font is colored and thus should not be colored any other way. I think there might even be an official Mozilla bug for this – I’ll look it up and report back. |
This is the official acknowledgement: https://bugzilla.mozilla.org/show_bug.cgi?id=1520157 Looking around on the bug tracker, I stumbled upon Summary – fonts with SVG table are (unfortunately) not well supported on Firefox. |
Thank you! |
@vannavu This has been resolved with the latest release (see also #250): |
## Description Previously, if you go to any Linode Detail page on Firefox in dark mode, the font color for "IP Addresses" and "SSH Access" should be white but instead, it's showing up as black. This is due to a known Firefox bug that will decide that a font is colored if it contains SVG glyphs (which surprise, Source Code Pro does). The latest release should've fixed this issue but the font is still showing up as black for me after updating the files. After some sleuthing, I decided to test out [Ubuntu Monospace](https://design.ubuntu.com/font/) as an alternative to Source Code Pro. I tested the font color on Chrome, Firefox, Safari, Edge, Opera, and Vivaldi with no issues. **Links:** - [GitHub issue with more details](adobe-fonts/source-code-pro#248) - [List of Ubuntu Monospace font files](https://google-webfonts-helper.herokuapp.com/fonts/ubuntu-mono?subsets=latin) ## How to test - On `develop`, use Firefox and go to any Linode Detail page in dark mode to verify the problem - The font color should now be white after checking out this PR
The bug is happening specifically in Catalina 10.15.6 and Firefox 80.0.1. Otherwise the color is showing correctly on Safari and Chrome across all devices as well as Firefox on Android and iPad.
I’m getting a weird bug that is only happening with Source Code variable and not other variable fonts on Firefox. The text color is showing as black instead of what’s defined in CSS. The website uses the TTF file. Any idea what may be going on/how to fix it?
The text was updated successfully, but these errors were encountered: