mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
Now Linux Libertine font works in TeX
svn path=/nixpkgs/trunk/; revision=11740
This commit is contained in:
parent
c6cf72aaa9
commit
0875919fa1
@ -12,6 +12,9 @@ rec {
|
||||
phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"];
|
||||
|
||||
createTTF=false;
|
||||
extraFontForgeCommands = ''
|
||||
ScaleToEm(1000);
|
||||
'';
|
||||
|
||||
name = "linux-libertine-" + version;
|
||||
meta = {
|
||||
|
@ -411,7 +411,8 @@ args: with args; with stringsWithDeps; with lib;
|
||||
for i in *.sfd; do
|
||||
${args.fontforge}/bin/fontforge -c \
|
||||
'Open($1);
|
||||
Reencode("unicode");
|
||||
${optionalString (args ? extraFontForgeCommands) args.extraFontForgeCommands
|
||||
}Reencode("unicode");
|
||||
${optionalString (getAttr ["createTTF"] true args) ''Generate($1:r + ".ttf");''}
|
||||
${optionalString (getAttr ["createOTF"] true args) ''Generate($1:r + ".otf");''}
|
||||
Reencode("TeX-Base-Encoding");
|
||||
|
Loading…
Reference in New Issue
Block a user