nixpkgs/pkgs/data/fonts/google-fonts
NullBite c3933fdc40
google-fonts: fix font name format
When specifying a list of fonts to install, the google-fonts package
would previously only search for fonts with the formats `$font-*.ttf`
and `$font[*.ttf`. However, certain fonts in the Google fonts repository
do not follow this naming scheme (e.g., Nova Square;
ofl/novasquare/NovaSquare.ttf). I have added `$font.ttf` as a format.

I have also optimized the build script so it does not make multiple calls
to `find`.
2024-02-05 11:26:25 +01:00
..
default.nix google-fonts: fix font name format 2024-02-05 11:26:25 +01:00