You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When text.usetex=True with pdf backend, full subset of latex fonts is embedded into pdf file #127
Saving plots to pdf, using latex for font rendering (i.e. setting rcParams['text.usetex']=True) results in very large file size (~150kb for simple line plot with some mathematical latex expressions). This is due to all fonts being fully embedded into pdf.
When resulting pdf is postprocessed, so that only subset of fonts is embedded, file size is reduced drastically (e.g. from 150kb to 15kb).
The embedded fonts are of FontType=1.
Pdf backend should support embedding of subset of fonts when rcParams["text.usetex"]=True is used.
Activity
jkseppan commentedon Aug 27, 2011
Needs Type1 subsetting, which is somewhat nontrivial. On my list of things to do eventually.
tacaswell commentedon Aug 18, 2014
@jkseppan What is the state of this?
jkseppan commentedon Aug 18, 2014
Nothing yet. There's a plan for a larger-scope refactoring of text handling in MEP14 and that would help with subsetting too.
petehuang commentedon Jan 7, 2017
Updating after a couple years again: same as last comment
Type-1 subsetting
16 remaining items
Type-1 subsetting
Type-1 subsetting
Type-1 subsetting
Type-1 subsetting
Type-1 subsetting
Type-1 subsetting
Type-1 subsetting