]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Prefer Linux-specific fonts over Arial
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 21 Jul 2021 07:45:51 +0000 (09:45 +0200)
committerMark Otto <otto@github.com>
Sat, 26 Feb 2022 02:16:26 +0000 (18:16 -0800)
commit4ee1465acfd14ab633364b5581d1e9213d946686
treea782e701b323b81030613edf38cd04f61aef50c7
parentd74870a749d694cb2859d300c24a0a49a0b52bce
Prefer Linux-specific fonts over Arial

Some Linux distributions (like Debian) have fontconfig aliases for Arial
that picks specific fonts. But such generic aliases might be less
desirable than the known-good Linux specific fonts.

This fixes a problem on my setup where Liberation Sans is aliased as
Arial, even when Noto Sans is available. Liberation Sans doesn't support
a weight of 500, so we end up rendering headers at the normal weight of
400, which makes them stand out less. Reordering the Arial fallback
makes us instead pick Noto Sans over Lieration Sans, which does support
a weight of 500, and makes headers stand out again.

While we're at it, fixup the reboot documentation to match, and change
the comment about Helvetica Neue; that's not a "Basic web-fallback" font,
it's the UI font on older iOS and macOS versions.
scss/_variables.scss
site/content/docs/5.1/content/reboot.md