Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 7d5375ebf4cd
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 83d60f72ae5a
Choose a head ref
  • 5 commits
  • 6 files changed
  • 2 contributors

Commits on Sep 1, 2019

  1. nixos/fontconfig: Allow setting default emoji font

    In fontconfig’s 60-generic.conf, order of preference is estabilished for emoji
    font family. Because fontconfig parses the config files in lexicographic order,
    appending each <prefer> from <alias> element to the family’s prefer list
    (to be prepended before the family) [1], our font family defaults stored
    in 52-nixos-default-fonts.conf will take precedence. That is, of course, unless
    the default „weak“ binding [2] is used. Emoji family binds strongly [3],
    so we need to set binding to “same” for our <alias>es to be considered before
    the ones from 60-generic.conf.
    
    By default, we will set the option to all emoji fonts supported by fontconfig,
    so that emoji works for user if they have at least one emoji font installed.
    If they have multiple emoji fonts installed, we will use the fontconfig’s
    order of preference [4].
    
    [1]: bohoomil/fontconfig-ultimate#51 (comment)
    [2]: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#AEN25
    [3]: https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/cc8442dec85e9d416436d19eeae1783f2d3008f0
    [4]: https://gitlab.freedesktop.org/fontconfig/fontconfig/commit/c41c9220181b203d1cf1f6435f6e3735cb7c84ac
    jtojnar authored and worldofpeace committed Sep 1, 2019
    1
    Copy the full SHA
    b31c7e5 View commit details
    Browse the repository at this point in the history
  2. nixos.tests.fontconfig-default-fonts: init

    Make sure the fonts.enableDefaultFonts option works.
    jtojnar authored and worldofpeace committed Sep 1, 2019
    Copy the full SHA
    ee7c590 View commit details
    Browse the repository at this point in the history
  3. nixos/fonts.enableDefaultFonts: add Noto Emoji

    These days, emoji are ubiqitous so we need to add emoji font.
    jtojnar authored and worldofpeace committed Sep 1, 2019
    Copy the full SHA
    eafe887 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    fcec3ff View commit details
    Browse the repository at this point in the history
  5. Merge pull request #67667 from jtojnar/default-emoji

    nixos/fontconfig: Allow setting default emoji font
    worldofpeace committed Sep 1, 2019
    Copy the full SHA
    83d60f7 View commit details
    Browse the repository at this point in the history