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"];
|
phaseNames = ["doUnpack" "generateFontsFromSFD" "installFonts"];
|
||||||
|
|
||||||
createTTF=false;
|
createTTF=false;
|
||||||
|
extraFontForgeCommands = ''
|
||||||
|
ScaleToEm(1000);
|
||||||
|
'';
|
||||||
|
|
||||||
name = "linux-libertine-" + version;
|
name = "linux-libertine-" + version;
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -411,7 +411,8 @@ args: with args; with stringsWithDeps; with lib;
|
||||||
for i in *.sfd; do
|
for i in *.sfd; do
|
||||||
${args.fontforge}/bin/fontforge -c \
|
${args.fontforge}/bin/fontforge -c \
|
||||||
'Open($1);
|
'Open($1);
|
||||||
Reencode("unicode");
|
${optionalString (args ? extraFontForgeCommands) args.extraFontForgeCommands
|
||||||
|
}Reencode("unicode");
|
||||||
${optionalString (getAttr ["createTTF"] true args) ''Generate($1:r + ".ttf");''}
|
${optionalString (getAttr ["createTTF"] true args) ''Generate($1:r + ".ttf");''}
|
||||||
${optionalString (getAttr ["createOTF"] true args) ''Generate($1:r + ".otf");''}
|
${optionalString (getAttr ["createOTF"] true args) ''Generate($1:r + ".otf");''}
|
||||||
Reencode("TeX-Base-Encoding");
|
Reencode("TeX-Base-Encoding");
|
||||||
|
|
Loading…
Reference in New Issue