View Single Post
Old 09-26-2008, 03:15 AM   #7
Martijn
Connoisseur
Martijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-booksMartijn has learned how to read e-books
 
Martijn's Avatar
 
Posts: 68
Karma: 855
Join Date: Jan 2007
Location: Netherlands
Device: iLiad
I think the following bash script could be used to batch-check pdf files:
Code:
#!/bin/bash
for i in $*; do
  c=`pdffonts $i | grep -c "Type 3" `
  if [ $c -ne 0 ]; then
    echo $i
  fi
done
Say you name it check.sh, then
Code:
check.sh *.pdf
Should give the names of all the files that use type 3 fonts.

Note: I haven't tested this yet.
Martijn is offline   Reply With Quote