git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [ANNOUNCE] Git Rev News edition 69

From
Felipe Contreras <felipe.contreras@gmail.com>
Date
Nov 28, 2020, 08:27 UTC
Message-ID
<CAMP44s28HEUUvW8hs5PxrW5NwwDdpou-qsNm8nx3kMk_g0brNw@mail.gmail.com>
In-Reply-To
<CAP8UFD0xoqVh=1BweBqNOt4_9xg4GvDd7Jf5f5_5z4H+PCVt8g@mail.gmail.com>

On Fri, Nov 27, 2020 at 3:24 PM Christian Couder <christian.couder@gmail.com> wrote:

> The 69th edition of Git Rev News is now published:
>
>   https://git.github.io/rev_news/2020/11/27/edition-69/
A nit-pick that has bothered me for years...

The font seems to be the same as git-scm.com, which is horrendous [1] in Linux. The style was clearly developed by people in the Git teaching industrial complex, who use macOS, not Linux.

The font-family list is Adelle, Georgia, Times New Roman. None of which are present in Linux systems (and the first one costs $540 USD). Then it falls back to "serif", which is already the default. So basically on Linux there is no font. It has the same font as "<p>Hello world<p>".

I was told in university that the best fonts to read on screens are sans-serif (Arial), and in paper serif (Times New Roman). Which is why the first thing I do in an HTML page is to add a style: body { font-family: sans-serif; }. But somehow nobody in this lucrative industry managed to do s/\<serif\>/sans-serif/ for Linux users.

Anyway, enough ranting.

After investigating all the different fonts specified in the list (present in macOS and Windows), I sent a fix [2] to pick similar fonts for Linux. The best one is Roboto Slab [3], which looks very similar to Adelle, and it's free. Alternatively, DejaVu Serif [4] is a good second option present in many (most?) Linux systems, plus it's how it looks on Windows with Georgia. And lastly, plain old (but not 90s old) sans-serif [5].

And now it finally looks readable to me.
Cheers.

[1] https://i.imgur.com/IGwT40T.png [2] https://github.com/git/git.github.io/pull/470 [3] https://i.imgur.com/iD4rTv8.png [4] https://i.imgur.com/hVu3VNS.png [5] https://i.imgur.com/7KXVsQa.png

-- 
Felipe Contreras
Previous: Christian CouderNext: Christian Couder
Message 2 of 3 in “[ANNOUNCE] Git Rev News edition 69”
  1. Christian CouderNov 27, 2020
  2. Felipe ContrerasNov 28, 2020
  3. Christian CouderNov 28, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.