lol
1{ lib, fetchFromGitHub }:
2
3fetchFromGitHub rec {
4 pname = "b612";
5 version = "1.008";
6
7 owner = "polarsys";
8 repo = "b612";
9 rev = version;
10
11 postFetch = ''
12 mkdir -p $out/share/fonts/truetype
13
14 mv $out/fonts/ttf/*.ttf $out/share/fonts/truetype
15
16 shopt -s extglob dotglob
17 rm -rf $out/!(share)
18 shopt -u extglob dotglob
19 '';
20
21 hash = "sha256-aJ3XzWQauPsWwEDAHT2rD9a8RvLv1kqU3krFXprmypk=";
22
23 meta = with lib; {
24 homepage = "https://b612-font.com/";
25 description = "Highly legible font family for use on aircraft cockpit screens";
26 longDescription = ''
27 B612 is the result of a research project initiated by Airbus. The font
28 was designed by Nicolas Chauveau and Thomas Paillot (intactile DESIGN) with the
29 support of Jean‑Luc Vinot (ENAC). Prior research by Jean‑Luc Vinot (DGAC/DSNA)
30 and Sylvie Athènes (Université de Toulouse III). The challenge for the
31 "Aeronautical Font" was to improve the display of information on the cockpit
32 screens, in particular in terms of legibility and comfort of reading, and to
33 optimize the overall homogeneity of the cockpit.
34
35 Intactile DESIGN was hired to work on the design of eight typographic
36 variants of the font. This one, baptized B612 in reference to the
37 imaginary asteroid of the aviator Saint‑Exupéry, benefited from a complete
38 hinting on all the characters.
39 '';
40 license = with licenses; [ ofl epl10 bsd3 ] ;
41 maintainers = with maintainers; [ leenaars ];
42 platforms = platforms.all;
43 };
44}