Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936668 - media-libs/fontconfig-2.15.0: 70-no-bitmaps matches outline rather than scalable
Summary: media-libs/fontconfig-2.15.0: 70-no-bitmaps matches outline rather than scalable
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-26 11:57 UTC by Stefan Huber
Modified: 2024-07-26 21:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Huber 2024-07-26 11:57:09 UTC
On my system it happened that x11-terms/kitty would select the wrong fallback font for emojis. A debugging session revealed that fc-list would not list NotoColorEmoji.ttf provided by media-fonts/noto-emoji.

The fontconfig conf file /etc/fonts/conf.avail/70-no-bitmaps.conf was the only only providing a <rejectfont> match. After disabling 70-no-bitmaps.conf via eselect the NotoColorEmoji.ttf is now reported by fc-list (after fc-cache).

This appears strange as NotoColorEmoji.ttf is not a bitmap font. Taking a closer look into the 70-no-bitmaps.conf we see this:

 <patelt name="outline"><bool>false</bool></patelt>

In contrast, on a Debian Bookworm installation, the very same file contains

  <patelt name="scalable"><bool>false</bool></patelt>

After changing "outline" to "scalable" an reactivating 70-no-bitmaps.conf, NotoColorEmoji.ttf is now reported, as it is on Debian.


I suggest to change /etc/fonts/conf.avail/70-no-bitmaps.conf accordingly as the "scalable" property rather captures what we mean by "no-bitmap", I believe.