The https://github.com/bitcoin/bitcoin/pull/16432/commits/8d75115844baefe5cad4d82ec8dce001dd16eb9c (https://github.com/bitcoin/bitcoin/pull/16432) introduced a monospaced font for tabulated figures.
But the Qt’s font matching algorithm does not guarantee that:
- the monospaced font will be chosen at all (see https://github.com/bitcoin/bitcoin/pull/16432#issuecomment-514486077, the actually used font on macOS 11.1 is
.AppleSystemUIFont
which is not monospaced, i.e.,QFontInfo::fixedPitch()
returnsfalse
) - the chosen monospaced font has expected style and weight (see #87 (comment) “I think the correct monospace font should be bigger and eventually bold”)
This change suggests to use Courier New explicitly which is available on Windows and macOS by default. On Linux systems the Qt substitutes the missed Courier New font (in case it is not installed) quite well. For example, the Liberation Mono is used on my system.
This is an alternative to #87. But personally I still lean to embedding font (#79).