Type 1 vs 3 fonts

If a publisher ever complains about the presence of “Type 3” fonts in your camera ready paper and you’re a python user, the culprit could be your matplotlib figures. From my understanding, type 3 fonts aren’t vectorized and therefore not guaranteed to print well. You’ll need to add the following lines to your figure generating scripts, to force matplotlib to use “Type 1” fonts only:

import matplotlib
matplotlib.rcParams['ps.useafm'] = True
matplotlib.rcParams['pdf.use14corefonts'] = True
matplotlib.rcParams['text.usetex'] = True

You can easily tell which fonts are embedded in your pdf file. Using evince for example: File -> Properties -> Fonts tab.

Advertisements
Tagged
%d bloggers like this: