noto fonts and tools: update to newer tagged releases#31543
noto fonts and tools: update to newer tagged releases#31543benley merged 2 commits intoNixOS:masterfrom
Conversation
pkgs/top-level/python-packages.nix
Outdated
| @@ -10985,14 +10985,14 @@ in { | |||
| }; | |||
|
|
|||
| nototools = buildPythonPackage rec { | |||
There was a problem hiding this comment.
We are moving Python expressions out of pkgs/top-level/python-packages.nix into pkgs/development/python-modules/<module>/default.nix.
Please move the expression there, and call it from pkgs/top-level/python-packages.nix using callPackage ../development/python-modules/<package> { };.
There was a problem hiding this comment.
Done - actually not to that specific location because it's not a library, it's a set of scripts used to assemble one specific font family - but done.
e351d7e to
0753e7c
Compare
|
It appears that this PR increased the size of the noto-fonts closure from 25 MiB to 302 MiB. Since noto-fonts is included by the NixOS plasma module by default, we should either revert this PR or remove the noto-fonts dependency. Ping @ttuegel who originally added the dependency on noto-fonts in .285061d50c1f0216a420a811d812e31ad4fe88a7. |
|
Also related to #31971 |
|
Looking at the package it seems to come with different language variants: I don't think we need all of them. |
|
The debian package is much smaller: https://packages.debian.org/sid/fonts-noto-hinted |
I agree that this is not going to work. We should see what Debian is doing differently, because KDE upstream would like us to supply all weights and styles of Noto for Plasma. |
|
Debian's package is smaller because they are not including extra weights or unhinted fonts. Originally, Noto only offered the weights |
|
That sounds reasonable to me. My goal with #31543 was mostly just to get multicolor emoji glyphs working, and I guess we picked up a whole lot more font variants as a side effect. |
Noto provides a large number of unusual font weights so that the complete package of fonts is more than 300 MB in size. Most of these weights are moved into noto-fonts-extra; noto-fonts retains the ordinary weights and styles. See also: NixOS#31543
Motivation for this change
Noto emoji had a major update in 2017.
Things done
build-use-sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)