From 46e0588bfc4c90bc65cd7e9a8fb79ed9d8a691fb Mon Sep 17 00:00:00 2001 From: Nick Hu Date: Sun, 17 Nov 2024 09:55:01 +0000 Subject: [PATCH] texlive.bin.dvisvgm: compile with ttfautohint (#355525) --- pkgs/tools/typesetting/tex/texlive/bin.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/typesetting/tex/texlive/bin.nix b/pkgs/tools/typesetting/tex/texlive/bin.nix index c65aceae112b..99f807593319 100644 --- a/pkgs/tools/typesetting/tex/texlive/bin.nix +++ b/pkgs/tools/typesetting/tex/texlive/bin.nix @@ -1,7 +1,7 @@ { lib, stdenv, fetchurl, fetchpatch, buildPackages , texlive , 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 , libpaper, graphite2, zziplib, harfbuzz, potrace, gmp, mpfr, mupdf-headless , brotli, cairo, pixman, xorg, clisp, biber, woff2, xxHash @@ -355,6 +355,7 @@ dvisvgm = stdenv.mkDerivation rec { configureFlags = [ "--disable-manpage" # man pages are provided by the doc container + "--with-ttfautohint" ]; # PDF handling requires mutool (from mupdf) since Ghostscript 10.01 @@ -364,7 +365,7 @@ dvisvgm = stdenv.mkDerivation rec { ''; 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; };