[Tex/LaTex] How to convert text in a PDF file from fonts/text to outlines

fontsghostscriptpdfpdftex

I have PDF graphic in which I would like to have fonts removed. All other properties of the file should remain (such as size, etc). The output file should be in PDF as well. The text itself should be converted to outlines.

Can I do it at the moment of including the PDF figure in pdftex document? Or can I perhaps use a magic ghostscript command?

Best Answer

Following this answer, you should use the following command for the new (9.15+) ghostscript

*nix

gs -dNoOutputFonts -sDEVICE=pdfwrite -o vectorized_file.pdf file.pdf

Win

gswin32 -dNoOutputFonts -sDEVICE=pdfwrite -o vectorized_file.pdf file.pdf

Related Question