NixOS 26.05: Fonts missing / Noto Sans

I’ve successfully upgraded to 26.05, however I ran into an issue for one flathub package I use: freefilesync

When I run the flatpak, I’m met with the following issue with the font characters:

I believe noto sans is missing:

flatpak run org.freefilesync.FreeFileSync

(FreeFileSync:2): Pango-WARNING **: 12:16:50.203: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans 9.999'

(FreeFileSync:2): Pango-WARNING **: 12:16:50.203: font_face status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.203: scaled_font status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.203: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans 9.999'

(FreeFileSync:2): Pango-WARNING **: 12:16:50.203: font_face status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.203: scaled_font status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.214: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans Bold 9.999'

(FreeFileSync:2): Pango-WARNING **: 12:16:50.214: font_face status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.214: scaled_font status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.215: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans Bold 9.999'

(FreeFileSync:2): Pango-WARNING **: 12:16:50.215: font_face status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.215: scaled_font status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.647: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans 9.999'

(FreeFileSync:2): Pango-WARNING **: 12:16:50.647: font_face status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.647: scaled_font status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.647: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans 9.999'

(FreeFileSync:2): Pango-WARNING **: 12:16:50.647: font_face status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.647: scaled_font status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.668: failed to create cairo scaled font, expect ugly output. the offending font is 'Noto Sans Bold 9.999'

(FreeFileSync:2): Pango-WARNING **: 12:16:50.668: font_face status is: file not found

(FreeFileSync:2): Pango-WARNING **: 12:16:50.668: scaled_font status is: file not found

I have the following in my nix config file:

#Install fonts
fonts.packages = with pkgs; [
	noto-fonts
	noto-fonts-cjk-sans
	noto-fonts-color-emoji
	liberation_ttf
	fira-code
	fira-code-symbols
	mplus-outline-fonts.githubRelease
	dina-font
	proggyfonts

How can I fix this?

This isn’t 26.05 specific, it’s a sandboxing thing: Fonts - Official NixOS Wiki

Also, is 26.06 a typo or did you switch to a channel that doesn’t exist? Or maybe change system.stateVersion thinking that does it? Double check /etc/os-release says what you expect it to.

Typo indeed. Thanks!

I didn’t change the system.Stateversion . It’s on the same version I’ve used from when I first installed NixOS on this drive: system.stateVersion = “24.05”

How does one double check /etc/os-release?

I have this output:

GNU nano 9.0 /etc/os-release
ANSI_COLOR="0;38;2;126;186;228"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="26.05.889.b51242d7d436"
CPE_NAME="cpe:/o:nixos:nixos:26.05"
DEFAULT_HOSTNAME=nixos
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
ID_LIKE=""
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 26.05 (Yarara)"
SUPPORT_END="2026-12-31"
SUPPORT_URL="https://nixos.org/community.html"
VARIANT=""
VARIANT_ID=""
VENDOR_NAME=NixOS
VENDOR_URL="https://nixos.org/"
VERSION="26.05 (Yarara)"
VERSION_CODENAME=yarara
VERSION_ID="26.05"

By running cat /etc/os-release and reading, which given that you’re reading this you hopefully know how to do.

But if that really was just a typo you’re probably fine, just wanted to make sure you’re actually booting “26.06”, as you named it :wink:

Right, ninja edit. Here it is, you’re all good:

I will hold my jokes on that ability to read thing…

Thanks again for sharing the location of this fix.

This was my solution:

If everything is mounted properly, but you still do not see fonts in flatpak app - force font cache recreation inside flatpak container: flatpak run --command=fc-cache <application id> -f -v

I just had to add the app ID: org.freefilesync.FreeFileSync

I’m not sure if this fixed it either, but I added it to my config prior to running the previous command in this post:

fonts.fontDir.enable = true;
2 Likes

I’m a little curious, why don’t you use pkgs.freefilesync?

Although the person’s response on 04/18/26 is news to me. I have yet to look into it.

1 Like