mirror of https://github.com/VLSIDA/OpenRAM.git
6 lines
305 B
Bash
Executable File
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
|