texlive.bin.dvisvgm: compile with ttfautohint (#355525)

This commit is contained in:
Nick Hu
2024-11-17 09:55:01 +00:00
committed by GitHub
parent 1d88c1febf
commit 46e0588bfc

View File

@@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, fetchpatch, buildPackages { lib, stdenv, fetchurl, fetchpatch, buildPackages
, texlive , texlive
, zlib, libiconv, libpng, libX11 , zlib, libiconv, libpng, libX11
, freetype, gd, libXaw, icu, ghostscript, libXpm, libXmu, libXext , freetype, ttfautohint, gd, libXaw, icu, ghostscript, libXpm, libXmu, libXext
, perl, perlPackages, python3Packages, pkg-config, cmake, ninja , perl, perlPackages, python3Packages, pkg-config, cmake, ninja
, libpaper, graphite2, zziplib, harfbuzz, potrace, gmp, mpfr, mupdf-headless , libpaper, graphite2, zziplib, harfbuzz, potrace, gmp, mpfr, mupdf-headless
, brotli, cairo, pixman, xorg, clisp, biber, woff2, xxHash , brotli, cairo, pixman, xorg, clisp, biber, woff2, xxHash
@@ -355,6 +355,7 @@ dvisvgm = stdenv.mkDerivation rec {
configureFlags = [ configureFlags = [
"--disable-manpage" # man pages are provided by the doc container "--disable-manpage" # man pages are provided by the doc container
"--with-ttfautohint"
]; ];
# PDF handling requires mutool (from mupdf) since Ghostscript 10.01 # PDF handling requires mutool (from mupdf) since Ghostscript 10.01
@@ -364,7 +365,7 @@ dvisvgm = stdenv.mkDerivation rec {
''; '';
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ core brotli ghostscript zlib freetype woff2 potrace xxHash mupdf-headless ]; buildInputs = [ core brotli ghostscript zlib freetype ttfautohint woff2 potrace xxHash mupdf-headless ];
enableParallelBuilding = true; enableParallelBuilding = true;
}; };