Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Add ttfautohint: an automatic hinter for TrueType fonts

+30
+28
pkgs/tools/misc/ttfautohint/default.nix
··· 1 + { stdenv, fetchurl, harfbuzz, pkgconfig, qt4 }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.3"; 5 + name = "ttfautohint-${version}"; 6 + 7 + src = fetchurl { 8 + url = "mirror://savannah/freetype/${name}.tar.gz"; 9 + sha256 = "01719jgdzgf0m4fzkkij563iksr40c7wydv1yq8ygpxjj0vs17y3"; 10 + }; 11 + 12 + buildInputs = [ harfbuzz pkgconfig qt4 ]; 13 + 14 + meta = with stdenv.lib; { 15 + description = "An automatic hinter for TrueType fonts"; 16 + longDescription = '' 17 + A library and two programs which take a TrueType font as the 18 + input, remove its bytecode instructions (if any), and return a 19 + new font where all glyphs are bytecode hinted using the 20 + information given by FreeType’s auto-hinting module. 21 + ''; 22 + homepage = http://www.freetype.org/ttfautohint/; 23 + license = licenses.gpl2Plus; # or the FreeType License (BSD + advertising clause) 24 + maintainers = [ maintainers.goibhniu ]; 25 + platforms = platforms.all; 26 + }; 27 + 28 + }
+2
pkgs/top-level/all-packages.nix
··· 2751 2751 2752 2752 ttf2pt1 = callPackage ../tools/misc/ttf2pt1 { }; 2753 2753 2754 + ttfautohint = callPackage ../tools/misc/ttfautohint { }; 2755 + 2754 2756 tty-clock = callPackage ../tools/misc/tty-clock { }; 2755 2757 2756 2758 ttysnoop = callPackage ../os-specific/linux/ttysnoop {};