]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Handle the Ubuntu sans-serif case (#31657)
authorGaël Poupard <ffoodd@users.noreply.github.com>
Thu, 22 Oct 2020 06:28:19 +0000 (08:28 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 27 Oct 2020 10:11:01 +0000 (12:11 +0200)
commitd29b05c7753b3b1a5c442cb9dc2567d52dfdb026
tree927df96b0717a390ab25a649f5c151a2aced98cd
parent4b30fe622cf56db72b4515aed0e06377208ecd9d
Handle the Ubuntu sans-serif case (#31657)

On Ubuntu, our native font-stack doesn't output the same font on Firefox and Chrome. This is [a known aliasing issue](http://fontfamily.io/sans-serif) — check at the bottom, Ubuntu 14.04. Ubuntu 18.04 (my current) doesn't use the same (Firefox uses Liberation Sans, Chrome uses the default system font Ubuntu).

I'm inclined to prefer Liberation Sans since it's closer to Arial / Helvetica. This patch already exists in Boosted, didn't notice it was missing in bootstrap until today…

BTW, our linked Smashing Magazine's system fonts post mentions this and is even more accurate since it targets the three major Linux distributions. AFAIK this is not needed since [Liberation Sans is available everywhere](http://fontfamily.io/Liberation_Sans) — but we might go back to `Oxygen, Ubuntu, Cantarell`if we want to stick to system fonts.

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
scss/_variables.scss