Greetings,

I have a question regarding the use of bitmap fonts on Debian.
I prefer bitmap (pixelated) fonts in my terminal and text editor, and thus used:

dpkg-reconfigure fontconfig-config

... to enable the use of bitmap fonts.
However, once this was done, I found that while GTK+ applications work fine, 
some web pages used the wrong fonts, selecting a fallback I don't want.

For example, here's Github's fonts preferences:

font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, 
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

What I end up with, according to Firefox, is Helvetica ; the font is aliased 
and quite painful to look at. I have attached a tiny screenshot.

Diving a little further, I ran:

fc-list | grep Helvetica

... to find that all these fallbacks for the usual mainstream fonts (Helvetica, 
Courier, Times...) come from the 'xfonts-100dpi'/'xfonts-75dpi' packages, which 
the 'xorg' metapackage depends on.

Thus here I am, not sure what to do.
Should these fonts be blacklisted? and if so, how?
The Arch wiki suggests using <selectfont>, <rejectfont> and <glob> in 
fonts.conf to pattern-match a font to reject, and indeed this works for me:

<selectfont>
        <rejectfont><glob>/usr/share/fonts/100dpi/helv*</glob></rejectfont>
        <rejectfont><glob>/usr/share/fonts/100dpi/cour*</glob></rejectfont>
        <rejectfont><glob>/usr/share/fonts/100dpi/tim*</glob></rejectfont>
        <rejectfont><glob>/usr/share/fonts/100dpi/lu*</glob></rejectfont>
</selectfont>

... but this pattern is very broad! It feels like a hack that I'll stumble over 
at some point.

Any similar experiences?
Should I force-remove the package? (if so, any tips for proceeding?)

Thank you for your time, and thank you for any opinion or advice.

Reply via email to