dotfiles

My collection of dotfiles
git clone git://git.noxz.tech/dotfiles
Log | Files | Refs

commit 39a8b93fb40f1ef2c97ac4ac8837fc4dd249bc2e
parent fbfa05bfad12a17b352356730a84712b401d5744
Author: Chris Noxz <chris@noxz.tech>
Date:   Fri, 25 Oct 2019 19:14:30 +0200

[bin] Fix font embedding for groff compiler

Diffstat:
Mbin/.bin/compile | 12++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/bin/.bin/compile b/bin/.bin/compile @@ -9,9 +9,17 @@ cd "$_DIR" || return case "$_FILE" in *\.ms) preconv "$_FILE" \ | refer \ - | eqn -Tpdf \ | tbl -Tpdf \ + | eqn -Tpdf \ | pic -Tpdf \ - | groff -k -ms -Tpdf > "$_BASE.pdf" + | groff -k -ms -msv -dpaper=a4 -P-pa4 -P-e -Tpdf \ + | gs \ + -q \ + -dNOPAUSE \ + -dBATCH \ + -dPDFSETTINGS=/prepress \ + -sDEVICE=pdfwrite \ + -dPrinted=false \ + -sOutputFile="$_BASE.pdf" - ;; esac