Problem: PDF files generated from Office use TrueType fonts, which are not embedded into the PDF.
Solution: Run this script:
#!/bin/bash
mv $1 $1.bak
gs -dCompatibilityLevel=1.4 \
-dPDFSETTINGS=/screen \
-dCompressFonts=true \
-dSubsetFonts=true \
-dNOPAUSE \
-dBATCH \
-sDEVICE=pdfwrite \
-sOutputFile=$1 \
-c ".setpdfwrite <</NeverEmbed [ ]>> setdistillerparams" \
-f $1.bak
pdffonts $1
Solution: Run this script:
#!/bin/bash
mv $1 $1.bak
gs -dCompatibilityLevel=1.4 \
-dPDFSETTINGS=/screen \
-dCompressFonts=true \
-dSubsetFonts=true \
-dNOPAUSE \
-dBATCH \
-sDEVICE=pdfwrite \
-sOutputFile=$1 \
-c ".setpdfwrite <</NeverEmbed [ ]>> setdistillerparams" \
-f $1.bak
pdffonts $1
See also: