-
Notifications
You must be signed in to change notification settings - Fork 349
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
Use system-ui
as default font
#2355
base: main
Are you sure you want to change the base?
Conversation
Nimbus Sans is a clone of Helvetica (https://en.wikipedia.org/wiki/Helvetica#Nimbus_Sans) so this might be working as intended. Is Helvetica free? (Can we default to free fonts for our free standard's website?) |
Ah, TIL about the purpose of Nimbus Sans.
Nope. It's proprietary. The issue with defaulting to free fonts is that we're either assuming that the user has one of the listed free fonts already installed on their computer, or we increase the footprint of the website by having the user download a font. Is the suggestion to use a free font because of a perceived issue or deficiency in the usage of |
Thanks for the PR! We are missing |
Added back! |
Not sure why CI is failing. Running Edit: I just noticed that |
oops thanks for noticing. my fault :D |
I'm on Ubuntu, and the font that's currently shown for me on matrix.org is Nimbus Sans. The font in the existing font list that is causing this is the font "Helvetica", which I do not have installed. From my cursory understanding of font matching, when running `fc-match helvetica` in the terminal, I get `NimbusSans-Regular.otf: "Nimbus Sans" "Regular"`, which explains why I'm being shown Nimbus Sans. As it appears from the existing font list, the desired result was to use the font of the system the user is on. By using `system-ui`, we can achieve this. In my case, I would be shown the Ubuntu Font, as that's my default on my system.
Rebased onto |
Sorry we're just reviewing it right now, and it looks like using system-ui is a rather bad idea. Let's use https://systemfontstack.com/ but with Helvetica Neue on top |
I don't mean to be a bother about this, but the article you linked is from 2017, and the advice has significantly changed since then. The article points to Bootstrap getting rid of
However, Bootstrap later added back I've not heard any recent (i.e., last 2 years) complaints about |
It’s still a cross-platform concern. On Linux with no desktop environment, there is not even a way to set that. Please do not use |
@mirabilos Your concern makes no sense. If If you want to expand on this claim or link out to someone else that explains it, I'd be happy to reconsider my position. |
The problem is that it does resolve to a font, but to one that is shit and that users cannot configure, unlike the standard |
That sounds like an issue with your very specific set up, not an issue with You're making a lot of claims without backing them up. If you could link to something that backs up your claims, I'd be happy to give it a read. |
On Sun, 20 Oct 2024, Veyndan Stuart wrote:
but looking around online, it doesn't seem like setting a default font
for Linux without a desktop environment should be a problem.
Oh, tell me where ☺ I only got here via other threads where people have
this problem.
You're making a lot of claims without backing them up. If you could
link to something that backs up your claims, I'd be happy to give it a
read.
Careful, that’s a very Wikipedia attitude.
To read, there is the other issue that was linked (via which I came
here). Other than that, does not my complaint that it results in an
illegible font suffice?
|
I'm on Ubuntu, and the font that's currently shown for me on matrix.org is Nimbus Sans. The font in the existing font list that is causing this is the font "Helvetica", which I do not have installed.
From my cursory understanding of font matching, when running
fc-match helvetica
in the terminal, I getNimbusSans-Regular.otf: "Nimbus Sans" "Regular"
, which explains why I'm being shown Nimbus Sans.As it appears from the existing font list, the desired result was to use the font of the system the user is on. By using
system-ui
, we can achieve this. In my case, I would be shown the Ubuntu Font, as that's my default on my system.