Thank you for the info.
I added the issue to the github for now.
I will inspect the source whether there is an easy way to add subsetting
of fonts for usetex=True case as well.
Simon
On 05/27/2011 05:02 PM, Michael Droettboom wrote:
> Ah, yes. That is all true. I'm not sure what options ther
Ah, yes. That is all true. I'm not sure what options there may be in
that case.
Mike
On 05/27/2011 10:56 AM, Simon Jesenko wrote:
> Setting 'pdf.fonttype'=3 had no effect, embedded fonts are of fonttype=1
> nonetheless. I guess that pdf.fonttype parameter is used only when
> matplotlib uses it
Setting 'pdf.fonttype'=3 had no effect, embedded fonts are of fonttype=1
nonetheless. I guess that pdf.fonttype parameter is used only when
matplotlib uses it's own engine to render latex, and not when
text.usetex=true is used.
Cairo backend is not support when text.usetex=true (only Agg, pdf a
Have you tried setting the rcParams "pdf.fonttype" to 3? That should
subset the fonts.
Also, the Cairo backend supports font subsetting.
Mike
On 05/27/2011 07:00 AM, Simon Jesenko wrote:
> Hi,
>
> I have a problem with large file-sizes of plots saved to pdf, when using
> rcParams['text.usetex'
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:/