2019-05-13 01:55:32 +00:00
|
|
|
{ lib, fetchzip }:
|
2018-10-14 03:30:24 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://software.sil.org/andika";
|
2018-10-14 03:30:24 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|