OpenRAM/ICCAD16_openram_paper/embed_fonts.sh

6 lines
305 B
Bash
Executable File

#!/bin/bash
psfile=${1%.pdf}.ps
gs -dSAFER -dNOPLATFONTS -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=letter -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dCompatibilityLevel=1.4 -dMaxSubsetPct=100 -dSubsetFonts=true -dEmbedAllFonts=true -sOutputFile=temp.pdf -f $1
mv temp.pdf $1
pdf2ps $1 $psfile