Skip to content

Instantly share code, notes, and snippets.

@MasWag
Last active December 14, 2015 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasWag/5063181 to your computer and use it in GitHub Desktop.
Save MasWag/5063181 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ $# -ne 1 ] ;then
cat <<EOF
usage : mkembedpdf pdffile
EOF
exit
fi
PS_NAME=$(echo $1|sed -e 's/\..*$//g').ps
OUT_NAME=$(echo $1|sed -e 's/\..*$//g').embed.pdf
pdf2ps $1 $PS_NAME
ps2pdf -dPDFSETTINGS=/prepress $PS_NAME $OUT_NAME
rm $PS_NAME
@MasWag
Copy link
Author

MasWag commented Mar 1, 2013

making a font embed pdf file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment