grassmunk / grassmunk/Chicago95

Suggested fix for MS Sans Serif font issues

Open
#218 15 comments 2 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
5.9k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

Since Pango / HarfBuzz have dropped support for many legacy bitmap fonts, the following Helvetica OTB font works as a replacement for MS Sans Serif, including bold and italic versions. Add the files to ~/.fonts or /usr/share/fonts to install:

[cronyx-cyrillic.tar.gz](https://github.com/grassmunk/Chicago95/files/7819170/cronyx-cyrillic.tar.gz)

By default, some systems block bitmaps fonts (as opposed to TTF fonts with embedded bitmaps, which are not blocked by default). To enable this and other bitmap fonts, run

`sudo rm /etc/fonts/conf.d/70-no-bitmaps.conf`

If you see "No such file or directory," then bitmap fonts were already enabled on your system.

The name of the font is listed as "Helvetica" and so depending on distribution, it might conflict with Adobe's Helvetica font. Specifically, Debian lists both as Helvetica (Arch lists Adobe's font as "Adobe Helvetica" so there is no conflict). If, after installing this font, some programs show a different Helvetica font, the other font can be safely removed. To fix this for programs such as Firefox which still accept PCF and other legacy font formats, run:

`sudo rm /usr/share/fonts/X11/*dpi/helv*` (Debian-based only)

**Do not uninstall xfonts-75dpi or xfonts-100dpi on Debian-based systems, as these are required by tasksel tasks**

This font is primarily intended for Latin characters (ie, Western European languages).

Cyrillic users (Eastern Europe) can use a copy of Arial from a recent version of Windows along with a [.conf file](https://github.com/grassmunk/Chicago95/blob/master/Extras/99-ms-sans-serif.conf) similar to the one currently used for MS Sans Serif - be sure to replace MS Sans with Arial in both the file name and file contents.

I am not sure what CJK font East Asian users should use - I use Noto as a fallback for CJK, but that is not bitmap.

More info about how this font set was generated can be found at [https://gitlab.gnome.org/GNOME/pango/-/issues/534#note_1040472](https://gitlab.gnome.org/GNOME/pango/-/issues/534#note_1040472)

![Screenshot_2022-01-06_00-43-38](https://user-images.githubusercontent.com/97207250/148334722-7f42860c-dcc7-4857-a1f4-84c7bc4fc8fc.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.