1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
nixpkgs/pkgs/data/fonts/b612/default.nix

40 lines
1.5 KiB
Nix
Raw Normal View History

{ lib, fetchFromGitHub }:
2019-01-21 17:22:21 +00:00
let
2019-03-22 06:14:55 +00:00
version = "1.008";
2019-01-21 17:22:21 +00:00
pname = "b612";
in fetchFromGitHub {
2019-01-21 17:22:21 +00:00
name = "${pname}-font-${version}";
owner = "polarsys";
repo = "b612";
rev = version;
2019-01-21 17:22:21 +00:00
postFetch = ''
tar xf $downloadedFile --strip=1
2019-01-21 17:22:21 +00:00
mkdir -p $out/share/fonts/truetype/${pname}
cp fonts/ttf/*.ttf $out/share/fonts/truetype/${pname}
2019-01-21 17:22:21 +00:00
'';
sha256 = "0r3lana1q9w3siv8czb3p9rrb5d9svp628yfbvvmnj7qvjrmfsiq";
2019-01-21 17:22:21 +00:00
meta = with lib; {
2019-01-21 17:22:21 +00:00
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;
};
}