Anterior: La música de mi infancia II |  Siguiente: Con la cámara a cuestas


Embedding fonts in pdf documents

Linux

It may happen that if you send a pdf document to a postscript printer the printed document doesn't use exactly the same font as the digital one. This is because if the printer doesn't find a font in the document it uses some table to find a similar one. This is not a huge problem because printers have a quite long list of available fonts. The problem arises if you want to send a pdf to a publisher to print your book (lulu, for instance). Instead of receiving your book you get an email saying that the printer complained about some missing font called helvetica and just stopped printing the document. The print-ready documents must have all the fonts embedded but sometimes pdflatex doesn't do so. This command is the solution:

gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress\
 -sDEVICE=pdfwrite -sOutputFile=out.pdf in.pdf
Et voilá! C'est tout!
  • Tags: Ingeniería fonts
Por guillem  |  sáb 03 May 2008  |  Comentar...  | 

Comentarios

LULU???

LULU??? You have published a book??? WTH??? Did I miss something?



Yes, dead trees

It's the Matlab book that I've been writing for the last three years. This weekend I spent a couple of hours publishing it IN PAPER on lulu. I can print it whenever I want but I really wanted to see it printed in a bookshop. It still has not a ISBN reference but I may buy one sometime in the near future. You can order a copy if you want.