about summary refs log tree commit diff
path: root/pkgs/data/fonts/andika
diff options
context:
space:
mode:
authorft <git@f-t.me>2018-10-13 20:30:24 -0700
committerft <git@f-t.me>2018-10-13 20:30:24 -0700
commita041dd92fe79588fca073a82ff157d52651b5365 (patch)
tree1ba3df7cef6a5efefe463c7f785193eb39d21c88 /pkgs/data/fonts/andika
parenta80026ec0b78c656cc18d4121440e60274125552 (diff)
downloadnixlib-a041dd92fe79588fca073a82ff157d52651b5365.tar
nixlib-a041dd92fe79588fca073a82ff157d52651b5365.tar.gz
nixlib-a041dd92fe79588fca073a82ff157d52651b5365.tar.bz2
nixlib-a041dd92fe79588fca073a82ff157d52651b5365.tar.lz
nixlib-a041dd92fe79588fca073a82ff157d52651b5365.tar.xz
nixlib-a041dd92fe79588fca073a82ff157d52651b5365.tar.zst
nixlib-a041dd92fe79588fca073a82ff157d52651b5365.zip
sil-fonts: added andika, charis, doulos
Diffstat (limited to 'pkgs/data/fonts/andika')
-rw-r--r--pkgs/data/fonts/andika/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/data/fonts/andika/default.nix b/pkgs/data/fonts/andika/default.nix
new file mode 100644
index 000000000000..4b6965563a3a
--- /dev/null
+++ b/pkgs/data/fonts/andika/default.nix
@@ -0,0 +1,31 @@
+{stdenv, fetchzip}:
+
+let
+  version = "5.000";
+in
+  fetchzip rec {
+    name = "andika-${version}";
+
+    url = "https://software.sil.org/downloads/r/andika/Andika-${version}.zip";
+
+    postFetch = ''
+      mkdir -p $out/share/{doc,fonts}
+      unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
+      unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
+    '';
+
+    sha256 = "1jy9vpcprpd1k48p20wh6jhyn909ibia8lr5i747p41l0s8a7lqy";
+
+    meta = with stdenv.lib; {
+      homepage = https://software.sil.org/andika;
+      description = "A family designed especially for literacy use taking into account the needs of beginning readers";
+      longDescription = ''
+      Andika is a sans serif, Unicode-compliant font designed especially for literacy use, taking into account the needs of beginning readers. The focus is on clear, easy-to-perceive letterforms that will not be readily confused with one another.
+
+      A sans serif font is preferred by some literacy personnel for teaching people to read. Its forms are simpler and less cluttered than those of most serif fonts. For years, literacy workers have had to make do with fonts that were not really suitable for beginning readers and writers. In some cases, literacy specialists have had to tediously assemble letters from a variety of fonts in order to get all of the characters they need for their particular language project, resulting in confusing and unattractive publications. Andika addresses those issues.
+      '';
+      license = licenses.ofl;
+      platforms = platforms.all;
+      maintainers = [ maintainers.f--t ];
+    };
+  }