You are not logged in.

#1 2025-03-24 11:43:29

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

[solved] Foot & Kitty not respecting config settings in config

Hi

After a recent update, foot terminal no longer respects the settings in foot.ini

I currently have set in ~/.config/foot/foot.ini

font=SourceCodePro-Regular:size=8

I am using this font across my system no problem, but foot displaying in a monospace font and displaying this error;

warning: foot: Noto Sans Regular: font does not appear to be monospace; check your config, or disable this warning by setting [tweak].font-monospace-warn=no

Edit
I have also found kitty has the same problem now. Both are trying to use NotoSansMono-Regular. Neither are set to use that font, both are set to use SourceCodePro-Regular:size=8

Last edited by fozid (2025-03-26 08:32:44)

Offline

#2 2025-03-24 14:37:11

seth
Member
Registered: 2012-09-03
Posts: 64,562

Re: [solved] Foot & Kitty not respecting config settings in config

fc-conflist
fc-match monospace
fc-match SourceCodePro-Regular

Online

#3 2025-03-24 14:53:54

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: [solved] Foot & Kitty not respecting config settings in config

seth wrote:
fc-conflist
fc-match monospace
fc-match SourceCodePro-Regular
╔═[14:52]
╚═════════ ~ ═⮞ fc-conflist
+ /etc/fonts/conf.d/10-hinting-slight.conf: Set hintslight to hintstyle
+ /etc/fonts/conf.d/10-scale-bitmap-fonts.conf: Bitmap scaling
+ /etc/fonts/conf.d/10-sub-pixel-rgb.conf: Enable sub-pixel rendering with the RGB stripes layout
+ /etc/fonts/conf.d/10-yes-antialias.conf: Enable antialiasing
+ /etc/fonts/conf.d/11-lcdfilter-default.conf: Use lcddefault as default for LCD filter
+ /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf: No description
+ /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf: No description
+ /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf: No description
+ /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf: No description
+ /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf: No description
+ /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf: No description
+ /etc/fonts/conf.d/20-unhint-small-vera.conf: Disable hinting for Bitstream Vera fonts when the size is less than 8ppem
+ /etc/fonts/conf.d/30-metric-aliases.conf: Set substitutions for similar/metric-compatible families
+ /etc/fonts/conf.d/30-win32-aliases.conf: No description
+ /etc/fonts/conf.d/40-nonlatin.conf: Set substitutions for non-Latin fonts
+ /etc/fonts/conf.d/45-generic.conf: Set substitutions for emoji/math fonts
+ /etc/fonts/conf.d/45-latin.conf: Set substitutions for Latin fonts
+ /etc/fonts/conf.d/46-input-mono.conf: No description
+ /etc/fonts/conf.d/46-input-sans.conf: No description
+ /etc/fonts/conf.d/46-input-serif.conf: No description
+ /etc/fonts/conf.d/46-noto-mono.conf: No description
+ /etc/fonts/conf.d/46-noto-sans.conf: No description
+ /etc/fonts/conf.d/46-noto-serif.conf: No description
+ /etc/fonts/conf.d/48-spacing.conf: Add mono to the family when spacing is 100
+ /etc/fonts/conf.d/49-sansserif.conf: Add sans-serif to the family when no generic name
+ /etc/fonts/conf.d/50-user.conf: Load per-user customization files
+ /etc/fonts/conf.d/51-local.conf: Load local customization file
+ /etc/fonts/conf.d/57-dejavu-sans-mono.conf: No description
+ /etc/fonts/conf.d/57-dejavu-sans.conf: No description
+ /etc/fonts/conf.d/57-dejavu-serif.conf: No description
+ /etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf: No description
+ /etc/fonts/conf.d/58-dejavu-lgc-sans.conf: No description
+ /etc/fonts/conf.d/58-dejavu-lgc-serif.conf: No description
+ /etc/fonts/conf.d/60-generic.conf: Set preferable fonts for emoji/math fonts
+ /etc/fonts/conf.d/60-latin.conf: Set preferable fonts for Latin
+ /etc/fonts/conf.d/65-droid-kufi.conf: No description
+ /etc/fonts/conf.d/65-droid-sans-mono.conf: No description
+ /etc/fonts/conf.d/65-droid-sans.conf: No description
+ /etc/fonts/conf.d/65-droid-serif.conf: No description
+ /etc/fonts/conf.d/65-fonts-persian.conf: No description
+ /etc/fonts/conf.d/65-nonlatin.conf: Set preferable fonts for non-Latin
+ /etc/fonts/conf.d/66-input-mono.conf: No description
+ /etc/fonts/conf.d/66-input-sans.conf: No description
+ /etc/fonts/conf.d/66-input-serif.conf: No description
+ /etc/fonts/conf.d/66-noto-mono.conf: No description
+ /etc/fonts/conf.d/66-noto-sans.conf: No description
+ /etc/fonts/conf.d/66-noto-serif.conf: No description
+ /etc/fonts/conf.d/69-unifont.conf: No description
+ /etc/fonts/conf.d/75-yes-terminus.conf: No description
+ /etc/fonts/conf.d/80-delicious.conf: No description
+ /etc/fonts/conf.d/81-ubuntu.conf: No description
+ /etc/fonts/conf.d/90-synthetic.conf: No description
+ /etc/fonts/fonts.conf: Default configuration file
- /usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf: Re-define fonts dirs sample
- /usr/share/fontconfig/conf.avail/09-autohint-if-no-hinting.conf: Enable autohinter if font doesn't have any hinting
- /usr/share/fontconfig/conf.avail/10-autohint.conf: Enable autohinter
- /usr/share/fontconfig/conf.avail/10-hinting-full.conf: Set hintfull to hintstyle
- /usr/share/fontconfig/conf.avail/10-hinting-medium.conf: Set hintmedium to hintstyle
- /usr/share/fontconfig/conf.avail/10-hinting-none.conf: Set hintnone to hintstyle
- /usr/share/fontconfig/conf.avail/10-hinting-slight.conf: Set hintslight to hintstyle
- /usr/share/fontconfig/conf.avail/10-no-antialias.conf: Disable antialiasing
- /usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf: Bitmap scaling
- /usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf: Enable sub-pixel rendering with the BGR stripes layout
- /usr/share/fontconfig/conf.avail/10-sub-pixel-none.conf: Disable sub-pixel rendering
- /usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf: Enable sub-pixel rendering with the RGB stripes layout
- /usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf: Enable sub-pixel rendering with the vertical BGR stripes layout
- /usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf: Enable sub-pixel rendering with the vertical RGB stripes layout
- /usr/share/fontconfig/conf.avail/10-unhinted.conf: Disable hinting
- /usr/share/fontconfig/conf.avail/10-yes-antialias.conf: Enable antialiasing
- /usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf: Use lcddefault as default for LCD filter
- /usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf: Use lcdlegacy as default for LCD filter
- /usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf: Use lcdlight as default for LCD filter
- /usr/share/fontconfig/conf.avail/11-lcdfilter-none.conf: Use lcdnone as default for LCD filter
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-lgc-sans.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-lgc-serif.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-sans.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-dejavu-serif.conf: No description
- /usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf: Disable hinting for Bitstream Vera fonts when the size is less than 8ppem
- /usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf: Disable hinting for CJK fonts
- /usr/share/fontconfig/conf.avail/30-metric-aliases.conf: Set substitutions for similar/metric-compatible families
- /usr/share/fontconfig/conf.avail/30-win32-aliases.conf: No description
- /usr/share/fontconfig/conf.avail/35-lang-normalize.conf: No description
- /usr/share/fontconfig/conf.avail/40-nonlatin.conf: Set substitutions for non-Latin fonts
- /usr/share/fontconfig/conf.avail/45-Hack.conf: No description
- /usr/share/fontconfig/conf.avail/45-generic.conf: Set substitutions for emoji/math fonts
- /usr/share/fontconfig/conf.avail/45-latin.conf: Set substitutions for Latin fonts
- /usr/share/fontconfig/conf.avail/46-input-mono.conf: No description
- /usr/share/fontconfig/conf.avail/46-input-sans.conf: No description
- /usr/share/fontconfig/conf.avail/46-input-serif.conf: No description
- /usr/share/fontconfig/conf.avail/46-noto-mono.conf: No description
- /usr/share/fontconfig/conf.avail/46-noto-sans.conf: No description
- /usr/share/fontconfig/conf.avail/46-noto-serif.conf: No description
- /usr/share/fontconfig/conf.avail/48-spacing.conf: Add mono to the family when spacing is 100
- /usr/share/fontconfig/conf.avail/49-sansserif.conf: Add sans-serif to the family when no generic name
- /usr/share/fontconfig/conf.avail/50-user.conf: Load per-user customization files
- /usr/share/fontconfig/conf.avail/51-local.conf: Load local customization file
- /usr/share/fontconfig/conf.avail/57-dejavu-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/57-dejavu-sans.conf: No description
- /usr/share/fontconfig/conf.avail/57-dejavu-serif.conf: No description
- /usr/share/fontconfig/conf.avail/58-dejavu-lgc-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/58-dejavu-lgc-sans.conf: No description
- /usr/share/fontconfig/conf.avail/58-dejavu-lgc-serif.conf: No description
- /usr/share/fontconfig/conf.avail/60-generic.conf: Set preferable fonts for emoji/math fonts
- /usr/share/fontconfig/conf.avail/60-latin.conf: Set preferable fonts for Latin
- /usr/share/fontconfig/conf.avail/65-droid-kufi.conf: No description
- /usr/share/fontconfig/conf.avail/65-droid-sans-mono.conf: No description
- /usr/share/fontconfig/conf.avail/65-droid-sans.conf: No description
- /usr/share/fontconfig/conf.avail/65-droid-serif.conf: No description
- /usr/share/fontconfig/conf.avail/65-fonts-persian.conf: No description
- /usr/share/fontconfig/conf.avail/65-khmer.conf: No description
- /usr/share/fontconfig/conf.avail/65-nonlatin.conf: Set preferable fonts for non-Latin
- /usr/share/fontconfig/conf.avail/66-input-mono.conf: No description
- /usr/share/fontconfig/conf.avail/66-input-sans.conf: No description
- /usr/share/fontconfig/conf.avail/66-input-serif.conf: No description
- /usr/share/fontconfig/conf.avail/66-noto-mono.conf: No description
- /usr/share/fontconfig/conf.avail/66-noto-sans.conf: No description
- /usr/share/fontconfig/conf.avail/66-noto-serif.conf: No description
- /usr/share/fontconfig/conf.avail/69-unifont.conf: No description
- /usr/share/fontconfig/conf.avail/70-no-bitmaps-and-emoji.conf: Reject bitmap fonts, including bitmap emoji fonts
- /usr/share/fontconfig/conf.avail/70-no-bitmaps-except-emoji.conf: Reject bitmap fonts except bitmap emoji fonts
- /usr/share/fontconfig/conf.avail/70-no-bitmaps.conf: Reject bitmap fonts except bitmap emoji fonts (deprecated; use 70-no-bitmaps-except-emoji.conf)
- /usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf: Accept bitmap fonts
- /usr/share/fontconfig/conf.avail/75-ttf-inconsolata.conf: No description
- /usr/share/fontconfig/conf.avail/75-yes-terminus.conf: No description
- /usr/share/fontconfig/conf.avail/80-delicious.conf: No description
- /usr/share/fontconfig/conf.avail/81-ubuntu.conf: No description
- /usr/share/fontconfig/conf.avail/90-synthetic.conf: No description
╔═[14:53]
╚═════════ ~ ═⮞ fc-match monospace
NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular"
╔═[14:53]
╚═════════ ~ ═⮞ fc-match SourceCodePro-Regular
NotoSans-Regular.ttf: "Noto Sans" "Regular"
╔═[14:53]
╚═════════ ~ ═⮞ 

Offline

#4 2025-03-24 15:30:51

seth
Member
Registered: 2012-09-03
Posts: 64,562

Re: [solved] Foot & Kitty not respecting config settings in config

╚═════════ ~ ═⮞ fc-match monospace
NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular"
╔═[14:53]
╚═════════ ~ ═⮞ fc-match SourceCodePro-Regular
NotoSans-Regular.ttf: "Noto Sans" "Regular"

The problem isn't limited to some TEs, but there isn't any suspicious config file

pacman -Qs noto

Did you only recently update that?

Edit: the config files haven't been touched in 5 years…
https://gitlab.archlinux.org/archlinux/ … noto-fonts

Last edited by seth (2025-03-24 15:31:46)

Online

#5 2025-03-24 15:37:57

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: [solved] Foot & Kitty not respecting config settings in config

seth wrote:
╚═════════ ~ ═⮞ fc-match monospace
NotoSansMono-Regular.ttf: "Noto Sans Mono" "Regular"
╔═[14:53]
╚═════════ ~ ═⮞ fc-match SourceCodePro-Regular
NotoSans-Regular.ttf: "Noto Sans" "Regular"

The problem isn't limited to some TEs, but there isn't any suspicious config file

pacman -Qs noto

Did you only recently update that?

Edit: the config files haven't been touched in 5 years…
https://gitlab.archlinux.org/archlinux/ … noto-fonts

╔═[15:35]
╚═════════ ~ ═⮞ pacman -Qs noto
local/noto-fonts 1:2025.03.01-1
    Google Noto TTF fonts
local/noto-fonts-cjk 20240730-1
    Google Noto CJK fonts
local/noto-fonts-emoji 1:2.047-1
    Google Noto emoji fonts
╔═[15:36]
╚═════════ ~ ═⮞ 

No, I havent made any font changes to my system in at least 6 months.

Offline

#6 2025-03-24 15:39:34

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: [solved] Foot & Kitty not respecting config settings in config

I havent specified to use Noto fonts anywhere.

Last edited by fozid (2025-03-24 15:40:50)

Offline

#7 2025-03-24 15:43:15

seth
Member
Registered: 2012-09-03
Posts: 64,562

Re: [solved] Foot & Kitty not respecting config settings in config

https://archlinux.org/packages/extra/x86_64/fontconfig/ itself was last updated a week ago… what if you downgrade it?

Online

#8 2025-03-24 16:41:45

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: [solved] Foot & Kitty not respecting config settings in config

seth wrote:

https://archlinux.org/packages/extra/x86_64/fontconfig/ itself was last updated a week ago… what if you downgrade it?

Good idea, but didnt help. Same problem. Even rebooted after downgrade just to be sure.

Offline

#9 2025-03-24 16:45:55

seth
Member
Registered: 2012-09-03
Posts: 64,562

Re: [solved] Foot & Kitty not respecting config settings in config

fc-match -s SourceCodePro-Regular | head -n10

("Can the proper font be resolved at all?")

Online

#10 2025-03-26 08:24:59

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: [solved] Foot & Kitty not respecting config settings in config

seth wrote:
fc-match -s SourceCodePro-Regular | head -n10

("Can the proper font be resolved at all?")

Sorry for the delay in responding.

╔═[08:23]
╚═════════ ~ ═⮞ fc-match -s SourceCodePro-Regular | head -n10
NotoSans-Regular.ttf: "Noto Sans" "Regular"
DejaVuSans.ttf: "DejaVu Sans" "Book"
DejaVuSans-Bold.ttf: "DejaVu Sans" "Bold"
DejaVuSans-Oblique.ttf: "DejaVu Sans" "Oblique"
DejaVuSans-BoldOblique.ttf: "DejaVu Sans" "Bold Oblique"
Verdana.TTF: "Verdana" "Regular"
Arial.TTF: "Arial" "Regular"
DroidSansHebrew-Regular.ttf: "Droid Sans" "Regular"
DroidSansEthiopic-Regular.ttf: "Droid Sans" "Regular"
DroidSansArabic.ttf: "Droid Sans" "Regular"

Offline

#11 2025-03-26 08:32:20

fozid
Member
From: uk
Registered: 2024-06-16
Posts: 48

Re: [solved] Foot & Kitty not respecting config settings in config

ok, resolved after reading into what that result meant. Some how, no idea how, SourceCodePro managed to uninstall itself during the upgrade! Fixed by reinstalling the font.

Offline

Board footer

Powered by FluxBB