-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fonts.fontconfig.defaultFonts.emoji
does not work for some fonts
#86713
Comments
Relevant to #86601 |
fonts.fontconfig.defaultFonts.emoji
does not workfonts.fontconfig.defaultFonts.emoji
does not work with penultimate fontconfig
I've noted that it's with penultimate fontconfig where this option doesn't work, which we were aware of and why penultimate is no longer the default. |
Has |
I'm seeing that your test was
and
testing with |
Your test works. However
with
with does not work. In both cases, the top emoji font is |
fonts.fontconfig.defaultFonts.emoji
does not work with penultimate fontconfigfonts.fontconfig.defaultFonts.emoji
does not work for some fonts
I marked this as stale due to inactivity. → More info |
nixpkgs/nixos/modules/config/fonts/fontconfig.nix Lines 338 to 342 in 1275550
|
I marked this as stale due to inactivity. → More info |
Still an issue |
I marked this as stale due to inactivity. → More info |
+1 |
Describe the bug
fonts.fontconfig.defaultFonts.emoji
does not change theemoji
font, whether or notfonts.fontconfig.penultimate.enable = true
is set.To Reproduce
Steps to reproduce the behavior:
fonts.fontconfig.defaultFonts.emoji = [ "DejaVu Sans Mono" ]
fc-match emoji
to check fontExpected behavior
fc-match emoji
should output"DejaVu Sans Mono"
.Additional context
The font set with
fonts.fontconfig.defaultFonts.emoji
appears as the second to top font infc-match -s emoji
. If you add a ~/.fonts.conf withthe given font is still second from top in
fc-match -s emoji
.With
fonts.fontconfig.penultimate.enable = true
, it looks like a different issue, with a similar result. Withfonts.fontconfig.penultimate.enable = true
, changingfonts.fontconfig.defaultFonts.emoji
has no effect onfc-match -s emoji
. It looks likeemoji
font is not set in fontconfig-penultimate.nix. Withfonts.fontconfig.penultimate.enable = true
, the above ~/.fonts.conf file does change the emoji font.Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."x86_64-linux"
Linux 5.4.35, NixOS, 20.03.1619.ab3adfe1c76 (Markhor)
yes
yes
nix-env (Nix) 2.3.4
"nixos-20.03.1619.ab3adfe1c76"
/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
The text was updated successfully, but these errors were encountered: