LinuxシステムでPDFにLaTexのすべてのフォントを埋め込む方法
LaTexからPDFドキュメントを生成する場合(pdflatexやdvipdfmなど)、すべてのフォントがPDFドキュメントに埋め込まれているわけではない場合があります。たとえば、pdffontsの次の出力では、PDFドキュメントに欠落したフォント(Helveticaなど)があることを示します。
このような問題を回避するために、以下では、LaTexコンパイル時にすべてのフォントを埋め込む方法について説明します。
$ latex document.tex $ dvips -Ppdf -G0 -t letter -o document.ps document.dvi $ ps2pdf -dPDFSETTINGS=/prepress \ -dCompatibilityLevel=1.4 \ -dAutoFilterColorImages=false \ -dAutoFilterGrayImages=false \ -dColorImageFilter=/FlateEncode \ -dGrayImageFilter=/FlateEncode \ -dMonoImageFilter=/FlateEncode \ -dDownsampleColorImages=false \ -dDownsampleGrayImages=false \document.ps document.pdf
すべてのフォントがPDFに埋め込まれているのがわかります。