Merge pull request #181853 from kmein/cardo-font

authored by Lassulus and committed by GitHub f5161e5b 513d95d0

+39
+37
pkgs/data/fonts/cardo/default.nix
··· 1 + { fetchzip, lib }: 2 + 3 + let 4 + version = "1.04"; 5 + in 6 + fetchzip { 7 + name = "cardo-${version}"; 8 + 9 + url = "http://scholarsfonts.net/cardo104.zip"; 10 + 11 + hash = "sha256-eBK6+VQpreWA7jIneNXOcKFcT+cJzhoQ9XXyq93SZ8M="; 12 + stripRoot = false; 13 + 14 + postFetch = '' 15 + mkdir -p $out/share/fonts/truetype 16 + mv $out/*.ttf $out/share/fonts/truetype 17 + rm $out/*.pdf 18 + ''; 19 + 20 + meta = with lib; { 21 + description = "Cardo is a large Unicode font specifically designed for the needs of classicists, Biblical scholars, medievalists, and linguists"; 22 + longDescription = '' 23 + Cardo is a large Unicode font specifically designed for the needs of 24 + classicists, Biblical scholars, medievalists, and linguists. It also 25 + works well for general typesetting in situations where a high-quality Old 26 + Style font is appropriate. Its large character set supports many modern 27 + languages as well as those needed by scholars. Cardo also contains 28 + features that are required for high-quality typography such as ligatures, 29 + text figures (also known as old style numerals), true small capitals and 30 + a variety of punctuation and space characters. 31 + ''; 32 + homepage = "http://scholarsfonts.net/cardofnt.html"; 33 + license = licenses.ofl; 34 + maintainers = with lib.maintainers; [ kmein ]; 35 + platforms = platforms.all; 36 + }; 37 + }
+2
pkgs/top-level/all-packages.nix
··· 26053 26053 26054 26054 cardboard = callPackage ../applications/window-managers/cardboard { }; 26055 26055 26056 + cardo = callPackage ../data/fonts/cardo { }; 26057 + 26056 26058 cage = callPackage ../applications/window-managers/cage { 26057 26059 wlroots = wlroots_0_14; 26058 26060 };