Skip to content

nixos/gnome3: default support for color emoji - #67215

Closed
worldofpeace wants to merge 1 commit into
NixOS:masterfrom
worldofpeace:gnome-emoji
Closed

worldofpeace wants to merge 1 commit into
NixOS:masterfrom
worldofpeace:gnome-emoji

Conversation

@worldofpeace

Copy link
Copy Markdown
Contributor
Motivation for this change

Pretty sure color emoji should just work out of the box here.
I'm not sure if the default font has changed, but I think it was noto-fonts-emoji.

Things done

These emojis show up properly in GTK3 apps.

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @

@worldofpeace
worldofpeace requested a review from jtojnar August 21, 2019 19:35
@ofborg ofborg Bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Aug 21, 2019
source-sans-pro
];

fonts.fontconfig.penultimate.enable = false;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this interfere with emojis?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It does, and it doesn't. I should probably mark this as wip since @jtojnar and I are still figuring this out. In particular people who try to use a different emoji font than the one we've configured will be stuck with this one. Thinking there should substitution rules, but I'm not too familiar with these pieces.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matthewbauer It appears penultimate is missing an emoji family.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @ttuegel

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears penultimate is missing an emoji family.

I don't know what this means. 🙁

@jtojnar jtojnar Aug 22, 2019 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ttuegel in 45-generic.conf & 60-generic.conf in fontconfig package, there is emoji family defined.

@jtojnar

jtojnar commented Aug 22, 2019

Copy link
Copy Markdown
Member

fontconfig-ultimate had the preset option removed with the infimality patches in 6559283 but then it was re-added in d0954b5. Why was that so?

@worldofpeace worldofpeace mentioned this pull request Aug 26, 2019
10 tasks
@worldofpeace

Copy link
Copy Markdown
Contributor Author

Superseded by #67522 because of the rewrite.

@worldofpeace
worldofpeace deleted the gnome-emoji branch August 26, 2019 19:47
worldofpeace added a commit to worldofpeace/nixpkgs that referenced this pull request Aug 30, 2019
It currently lacks an emoji font-family which means it has to be
disabled for them to function [0].  Additionally it's fallen out of
necessity to ship custom font rendering settings (as far as I'm aware
of).

[0]: NixOS#67215
dtzWill pushed a commit to dtzWill/nixpkgs that referenced this pull request Sep 12, 2019
It currently lacks an emoji font-family which means it has to be
disabled for them to function [0].  Additionally it's fallen out of
necessity to ship custom font rendering settings (as far as I'm aware
of).

[0]: NixOS#67215

(cherry picked from commit 0d220e4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants