summary refs log tree commit diff
path: root/pkgs/data/fonts/libertine/2.7.nix
blob: 546a4bdacec0d4efe40f48f310f6875defcc4b63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
  };
}