git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #48348 from f--t/fix/sil-fonts

sil-fonts: added charis, doulos, and andika

commit9ab8920235d2c78b4d0001a920cb9c69148de2a7 authorSamuel Dionne-Riel <samuel@dionne-riel.com> dateSun 14 Oct 2018, 21:01 (8 years ago) parentcb84512a041dd9
5 files changed+104
maintainers/maintainer-list.nix+5 pkgs/data/fonts/andika/default.nix+31 pkgs/data/fonts/charis-sil/default.nix+31 pkgs/data/fonts/doulos-sil/default.nix+31 pkgs/top-level/all-packages.nix+6
maintainers/maintainer-list.nix+5
@@ -1377,6 +1377,11 @@
13771377 github = "expipiplus1";
13781378 name = "Joe Hermaszewski";
13791379 };
1380+ f--t = {
1381+ email = "git@f-t.me";
1382+ github = "f--t";
1383+ name = "f--t";
1384+ };
13801385 f-breidenstein = {
13811386 email = "mail@felixbreidenstein.de";
13821387 github = "f-breidenstein";
pkgs/data/fonts/andika/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{stdenv, fetchzip}:
2+
3+let
4+ version = "5.000";
5+in
6+ fetchzip rec {
7+ name = "andika-${version}";
8+
9+ url = "https://software.sil.org/downloads/r/andika/Andika-${version}.zip";
10+
11+ postFetch = ''
12+ mkdir -p $out/share/{doc,fonts}
13+ unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
14+ unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
15+ '';
16+
17+ sha256 = "1jy9vpcprpd1k48p20wh6jhyn909ibia8lr5i747p41l0s8a7lqy";
18+
19+ meta = with stdenv.lib; {
20+ homepage = https://software.sil.org/andika;
21+ description = "A family designed especially for literacy use taking into account the needs of beginning readers";
22+ longDescription = ''
23+ 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.
24+
25+ 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.
26+ '';
27+ license = licenses.ofl;
28+ platforms = platforms.all;
29+ maintainers = [ maintainers.f--t ];
30+ };
31+ }
pkgs/data/fonts/charis-sil/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{stdenv, fetchzip}:
2+
3+let
4+ version = "5.000";
5+in
6+ fetchzip rec {
7+ name = "charis-sil-${version}";
8+
9+ url = "https://software.sil.org/downloads/r/charis/CharisSIL-${version}.zip";
10+
11+ postFetch = ''
12+ mkdir -p $out/share/{doc,fonts}
13+ unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
14+ unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
15+ '';
16+
17+ sha256 = "1a220s8n0flvcdkazqf5g10v6r55s2an308slvvarynpj6l7x27n";
18+
19+ meta = with stdenv.lib; {
20+ homepage = https://software.sil.org/charis;
21+ description = "A family of highly readable fonts for broad multilingual use";
22+ longDescription = ''
23+ This Charis SIL font is essentially the same design as the SIL Charis font first released by SIL in 1997. Charis is similar to Bitstream Charter, one of the first fonts designed specifically for laser printers. It is highly readable and holds up well in less-than-ideal reproduction environments. It also has a full set of styles – regular, italic, bold, bold italic. Charis is a serif, proportionally-spaced font optimized for readability in long printed documents.
24+
25+ The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
26+ '';
27+ license = licenses.ofl;
28+ platforms = platforms.all;
29+ maintainers = [ maintainers.f--t ];
30+ };
31+ }
pkgs/data/fonts/doulos-sil/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{stdenv, fetchzip}:
2+
3+let
4+ version = "5.000";
5+in
6+ fetchzip rec {
7+ name = "doulos-sil-${version}";
8+
9+ url = "https://software.sil.org/downloads/r/doulos/DoulosSIL-${version}.zip";
10+
11+ postFetch = ''
12+ mkdir -p $out/share/{doc,fonts}
13+ unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
14+ unzip -j $downloadedFile \*OFL.txt \*OFL-FAQ.txt \*README.txt \*FONTLOG.txt -d "$out/share/doc/${name}"
15+ '';
16+
17+ sha256 = "04a9cr7jbw7d8llcj8xsqp9rp8w6gcgbd9sdwvi02kz7jhqa0vad";
18+
19+ meta = with stdenv.lib; {
20+ homepage = https://software.sil.org/doulos;
21+ description = "A font that provides complete support for the International Phonetic Alphabet";
22+ longDescription = ''
23+ This Doulos SIL font is essentially the same design as the SIL Doulos font first released by SIL in 1992. The design has been changed from the original in that it has been scaled down to be a better match with contemporary digital fonts, such as Times New Roman®. This current release is a regular typeface, with no bold or italic version available or planned. It is intended for use alongside other Times-like fonts where a range of styles (italic, bold) are not needed. Therefore, just one font is included in the Doulos SIL release: Doulos SIL Regular.
24+
25+ The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
26+ '';
27+ license = licenses.ofl;
28+ platforms = platforms.all;
29+ maintainers = [ maintainers.f--t ];
30+ };
31+ }
pkgs/top-level/all-packages.nix+6
@@ -14961,6 +14961,8 @@ with pkgs;
1496114961
1496214962 andagii = callPackage ../data/fonts/andagii { };
1496314963
14964+ andika = callPackage ../data/fonts/andika { };
14965+
1496414966 android-udev-rules = callPackage ../os-specific/linux/android-udev-rules { };
1496514967
1496614968 anonymousPro = callPackage ../data/fonts/anonymous-pro { };
@@ -14993,6 +14995,8 @@ with pkgs;
1499314995
1499414996 carlito = callPackage ../data/fonts/carlito {};
1499514997
14998+ charis-sil = callPackage ../data/fonts/charis-sil { };
14999+
1499615000 comfortaa = callPackage ../data/fonts/comfortaa {};
1499715001
1499815002 comic-neue = callPackage ../data/fonts/comic-neue { };
@@ -15051,6 +15055,8 @@ with pkgs;
1505115055
1505215056 documentation-highlighter = callPackage ../misc/documentation-highlighter { };
1505315057
15058+ doulos-sil = callPackage ../data/fonts/doulos-sil { };
15059+
1505415060 cabin = callPackage ../data/fonts/cabin { };
1505515061
1505615062 camingo-code = callPackage ../data/fonts/camingo-code { };