nixpkgs/pkgs/data/fonts/b612/default.nix

39 lines
1.5 KiB
Nix
Raw Normal View History

2019-01-21 18:22:21 +01:00
{ stdenv, fetchzip, lib }:
let
2019-03-22 07:14:55 +01:00
version = "1.008";
2019-01-21 18:22:21 +01:00
pname = "b612";
in
fetchzip rec {
name = "${pname}-font-${version}";
2019-03-22 07:14:55 +01:00
url = "https://github.com/polarsys/b612/archive/${version}.zip";
sha256 = "0r3lana1q9w3siv8czb3p9rrb5d9svp628yfbvvmnj7qvjrmfsiq";
2019-01-21 18:22:21 +01:00
postFetch = ''
mkdir -p $out/share/fonts/truetype/${pname}
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/${pname}
'';
meta = with stdenv.lib; {
homepage = http://b612-font.com/;
description = "Highly legible font family for use on aircraft cockpit screens";
longDescription = ''
B612 is the result of a research project initiated by Airbus. The font
was designed by Nicolas Chauveau and Thomas Paillot (intactile DESIGN) with the
support of JeanLuc Vinot (ENAC). Prior research by JeanLuc Vinot (DGAC/DSNA)
and Sylvie Athènes (Université de Toulouse III). The challenge for the
"Aeronautical Font" was to improve the display of information on the cockpit
screens, in particular in terms of legibility and comfort of reading, and to
optimize the overall homogeneity of the cockpit.
Intactile DESIGN was hired to work on the design of eight typographic
variants of the font. This one, baptized B612 in reference to the
imaginary asteroid of the aviator SaintExupéry, benefited from a complete
hinting on all the characters.
'';
license = with licenses; [ ofl epl10 bsd3 ] ;
maintainers = with maintainers; [ leenaars ];
platforms = platforms.all;
};
}