Brave: Some text is not rendering
Nixpkgs version
- Stable (25.05)
Describe the bug
As per title, some text, specifically japanese, chinese and korean characters, do not render at all, regardless of website. This happened after updating brave to 1.84.132.
Steps to reproduce
- Open brave
- Open https://en.wikipedia.org/wiki/Japanese_Wikipedia
- See that japanese characters are invisible
Expected behaviour
Characters render correctly instead of being invisible
Screenshots
Relevant log output
Additional context
I have tried running it as another user, which led to same behavior, so it's not a user configuration. Just to be sure, I also started up a NixOS VM and only installed brave there and was able to reproduce the bug. Just in case it is relevant, I'm running KDE Plasma 6.
I think it might be a dependency issue(don't quote me on that though), since official brave flatpak works as intended. As does the official .deb package that I installed in Linux Mint VM. Though I did find this issue on brave github, which might be the same issue, but OP there is using Arch.
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.12.56, NixOS, 25.05 (Warbler), 25.05.812242.3de8f8d73e35 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.28.5 - channels(root):
"nixos-25.05" - nixpkgs:
/nix/store/yzr20m248p468rli3qs426pvbjfm6mam-nixos-25.05/nixos
Notify maintainers
@uskudnik @rht @JeffLabonte @nasirhm @buckley310 @matteo-pacini
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- [x] I assert that this is a bug and not a support request.
- [x] I assert that this is not a duplicate of an existing issue.
- [x] I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a :+1: reaction to issues you find important.
Maybe this is a Chromium issue. I experience the same since yesterday after upgrading google chrome:
141.0.7390.122 -> 142.0.7444.59
(Look at the tab-titles, google-chrome 142.0.7444.59 on the left, Firefox on the right)
If it affects google chrome too, maybe chromium has a new dependency? Or a new version of existing dependencies broke something. Since if it was an actual chromium bug, I would expect that brave flatpak and .deb(on Mint) would have broken rendering too
I would expect that brave flatpak and .deb(on Mint) would have broken rendering too
I've just tested Chromium version 142.0.7444.162 from flathub.
flatpak install flathub org.chromium.Chromium
flatpak run org.chromium.Chromium
Can confirm that there are indeed issues with rendering the text.
FYI, this seems to be the relevant upstream issue for problem — https://issues.chromium.org/issues/459848497.
I have such a problem on Chromium 144.0.7559.96 on NixOS.
When you take a character like 中 and paste it in the URL bar, does it show up there? For me it's invisible even in the URL bar.
Hm, /nix/store/dqc7wm0a797frqqsndka9q3dif77nhsj-chromium-144.0.7559.109/bin/chromium-browser --user-data-dir=/tmp/chrome-debug --no-first-run shows the characters on Ubuntu but not my NixOS 25.11, suggesting it is indeed some system font problem.
In NixOS, I could fix the issue in my chromium by installing noto-fonts-cjk-sans:
fonts.packages = with pkgs; [
noto-fonts-cjk-sans # fixes e.g. Chinese characters being invisible in chromium
];
I still wonder why this is newly necessary, and wasn't necessary before.
Related: https://github.com/NixOS/nixpkgs/issues/463615
Seems this issue is now traveling into various apps. teams-for-linux is now also affected (Since version 2.7.0 -> The last working version is 2.6.19). I'll open up an issue in teams-for-linux.
This should be fixed now by https://github.com/NixOS/nixpkgs/pull/521738. Please reopen if the issue still exists.