Hi,

I have a problem with large file-sizes of plots saved to pdf, when using

rcParams['text.usetex']=True

Files are very large (~150kb for simple line plot with some mathematical latex expressions) as all fonts are fully embedded into pdf. When resulting pdf is postprocessed (e.g. as is http://zeppethefake.blogspot.com/2008/05/embedding-fonts-in-pdf-with-ghostscript.html), so that only subset of fonts is embedded, file size is reduced drastically(e.g. from 150kb to 15kb).

Is there a way to enable embedding of subset of fonts in matplotlib?

I am using matplotlib version 0.99.3.

Did anyone else experience similar problems/found solution?

Thank you for info/assistance!

Simon