this post was submitted on 28 Jun 2025
46 points (100.0% liked)

Linux

55962 readers
933 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

A new version of fontconfig release recently with the added option to disable bitmap fonts. If you're using a rolling release distro, this might break bitmap fonts for you. It definitely does on Arch (and likely Arch-based distros) because they opted to disable them by default for some reason (AFAICT upstream gives the choice but does not recommend one way or the other).

This'll cause fontconfig to skip bitmap fonts, your apps won't be able to access them.

To fix it, you need to configure fontconfig to not ignore bitmap fonts. There are a number of ways to do that.

I'd recommend a user-level fontconfig file. Create $XDG_CONFIG_HOME/fontconfig/fonts.conf with below contents and you get your bitmap fonts back. This negates the file in /etc/fonts/conf.d/70-no-bitmaps-except-emoji.conf. This is the first time I'm configuring fontconfig so there may be a better way ¯_(ツ)_/¯

This should've definitely been news imo especially because this is not the default behavior of upstream. I shouldn't have to read fontconfig PRs to figure out why my fonts broke, even on Arch.

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
  <description>Accept bitmap fonts</description>
  <!-- Accept bitmap fonts -->
  <selectfont>
    <acceptfont>
      <pattern>
        <patelt name="outline"><bool>false</bool></patelt>
        <patelt name="scalable"><bool>false</bool></patelt>
      </pattern>
    </acceptfont>
  </selectfont>
</fontconfig>
you are viewing a single comment's thread
view the rest of the comments
[–] slackness@lemmy.ml 1 points 4 days ago

Aah my web client wasn't showing any links in your original message.