Home » Linux » How can one embed a font into a PDF with free linux command line tools? [closed]

How can one embed a font into a PDF with free linux command line tools? [closed]

Posted by: admin January 30, 2018 Leave a comment

Questions:

I have a set o f PDFs that display fine on my machine. However, they use non-standard fonts installed on my machine. As they are not embedded (as per pdffonts), they don’t display on other machines. How can I embed this font using only linux command line tools.

BTW, under Windows, Adobe Acrobat could be used as explained here.

Answers:

This should be solved by carefully reading these answers:

Questions:
Answers:

Try this:

gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -sOutputFile=output.pdf input.pdf