3
0
Fork 0
forked from mirrors/nixpkgs

vista-fonts: install cambria.ttc as well

This commit is contained in:
Linus Heckemann 2021-10-25 19:54:40 +02:00
parent 5f0194220f
commit ae3ce3861c

View file

@ -14,11 +14,12 @@ stdenvNoCC.mkDerivation {
unpackPhase = ''
cabextract --lowercase --filter ppviewer.cab $src
cabextract --lowercase --filter '*.TTF' ppviewer.cab
cabextract --lowercase --filter '*.TTC' ppviewer.cab
'';
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
cp *.ttf *.ttc $out/share/fonts/truetype
# Set up no-op font configs to override any aliases set up by
# other packages.