From dd4083aec555ede20bdb732bd5cdfb06d055353e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Mon, 6 Feb 2023 21:39:29 +0100 Subject: [PATCH] fix(fonts): update hash, reject woff --- configs/fonts.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configs/fonts.nix b/configs/fonts.nix index 55b1896..40c17e8 100644 --- a/configs/fonts.nix +++ b/configs/fonts.nix @@ -18,7 +18,7 @@ egyptianHiero = zip-font "EgyptianHiero" { url = "https://github.com/MKilani/Djehuty/archive/master.zip"; - sha256 = "0xaq16ysvxrkcn3264wkmm2ln0hpijpk4iq1n5i7d9gqhjhsav1x"; + sha256 = "sha256-KbY4vedm757NWfDlgmNhslbZd+2Vs+o5PjtMMGDt61Y="; }; antinoou = zip-font "Antinoou" { url = "https://www.evertype.com/fonts/coptic/AntinoouFont.zip"; @@ -107,5 +107,17 @@ in { sansSerif = ["Noto Sans Display" "Noto Kufi Arabic" "Noto Sans Devanagari" "Noto Sans CJK JP"]; emoji = ["Noto Color Emoji"]; }; + # xelatex fails with woff files + # ref https://tex.stackexchange.com/questions/392144/xelatex-and-fontspec-crash-trying-to-find-woff-file-for-some-fonts-but-not-other + fontconfig.localConf = '' + + + + + *.woff* + + + + ''; }; }