nixpkgs/pkgs/data/fonts/libertine/2.7.nix
Michael Raskin 1d06f6f78e .ttf font file supports OpenType features better than .otf for XeLaTeX..
svn path=/nixpkgs/trunk/; revision=11744
2008-04-29 01:38:46 +00:00

23 lines
583 B
Nix

args : with args;
rec {
src = fetchurl {
url = http://downloads.sourceforge.net/linuxlibertine/LinLibertineSRC-2.7.tgz;
sha256 = "1czc3pil4zrii6qh6zk0g6hj6axj20gfnpbbdfrzm703wm9w70ic";
};
buildInputs = [fontforge];
configureFlags = [];
/* doConfigure should be specified separately */
phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"];
extraFontForgeCommands = ''
ScaleToEm(1000);
'';
name = "linux-libertine-" + version;
meta = {
description = "Linux Libertine Fonts";
homepage = http://linuxlibertine.sf.net;
};
}