aah something installed "dejavu sans" as a required dependency and it took over mastodon's system font option.
after a bit of debugging, it seems like it loads when firefox asks for "Segoe UI", and the only fontconfig incantation i know of to fix this isn't working
On… which app? Client-side? Desktop? Phone? Whaddayamean “Mastodon” now that you’re on another instance?
<match target="pattern"> <test qual="any" name="family"><string>Segoe UI</string></test> <edit name="family" mode="assign" binding="same"><string>sans-serif</string></edit> </match>
$ fc-match "sans-serif"
Roboto-Regular.ttf: "Roboto" "Regular"
I am currently working around all this via some CSS mess
one day i will delete the default /etc/fonts of my distro and just bind everything into Noto, Roboto and Ubuntu Mono, because wow fontconfig is annoying to work with
yup, this seems to be the problem.
why is it like this, and why did i not catch it with the config line right above, which also assumed it would work recursively
This is a pretty common pitfall with this lang family. Sometimes it’s a good thing because recursive template application can lead to crashes and freezes if peeps are being sloppy. I use sxml-pre-post-order-splice* on Chicken which does allow (optionally) recursive template application and I’ve seen some bad crashes while deving
So just map Segoe to Roboto directly and you’re golden.
Also don’t post screenshots because I get seizures from Roboto. I basically only Helvetica and Futura. Like Cayce Pollard.
> Also don’t post screenshots because I get seizures from Roboto. I basically only Helvetica and Futura. Like Cayce Pollard.
Honestly, I am using Roboto mostly because I don't know many fonts and it's (well, anything is) better than the Dejavu/Liberation fonts most Linux distributions seem to always default to.
(Crashes bc if you replace A with B and then B with A and then A with B… or, which is legal with sxml-pre-post-order-splice*, replace A with A with A with A with… Steve Ditko would be proud.)
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!