Kindleで日本語PDFを読むために
pdftops input.pdf tmp.ps ps2pdf -dSubsetFonts=true -dEmbedAllFonts=true tmp.ps output.pdf
多少改良いたしまして。
#!/bin/bash if [ $# -ge 2 ]; then pdftops "$1" /dev/stdout | ps2pdf -dSubsetFonts=true -dEmbedAllFonts=true /d ev/stdin "$2" else false fi