Editable text from matplotlib?

Hi,

Is it ever possible to edit the text produced by matplotlib when saving to ps, eps or pdf? No matter the combination of setting I try the text always imports as outlines rather than text.

If it makes a difference, I'm using CorelDraw. Does this work for anyone?

Eric

I have had an illustrator work with my eps plots generated in MPL, and she

used to get text. She was using some Adobe software, IIRC.

Joy

···

On Tue, Oct 28, 2014 at 2:30 AM, Moore, Eric (NIH/NIDDK) [F] <eric.moore2@…3928…> wrote:

Hi,

Is it ever possible to edit the text produced by matplotlib when saving to ps, eps or pdf? No matter the combination of setting I try the text always imports as outlines rather than text.

If it makes a difference, I’m using CorelDraw. Does this work for anyone?

Eric



Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users


The best ruler, when he finishes his
tasks and completes his affairs,
the people say
“It all happened naturally”

                                     - Te Tao Ch'ing

Hi Eric,

Have you tried setting text.usetex to True in your matplotlibrc? That might help. For Postscript files, you may also have to use Poppler or Xpdf as your distiller.

See http://matplotlib.org/users/usetex.html for more details.

Hope that helps,
Jeff

···

On Tue, Oct 28, 2014 at 2:30 AM, Moore, Eric (NIH/NIDDK) [F] <eric.moore2@...120.....3928...> wrote:

Hi,

Is it ever possible to edit the text produced by matplotlib when saving to ps, eps or pdf? No matter the combination of setting I try the text always imports as outlines rather than text.

If it makes a difference, I'm using CorelDraw. Does this work for anyone?

Eric

One thing I remember from back in the day was that the text used to be supplied as a group of glyphs, so text extraction and modification was really easy (I was able to do some simple tweeks from the command-line). But then a few years ago, to address some problem (I can’t remember what), it was decided that the glyphs would be individually placed, making it hard to extract out groups of text.

···

On Tue, Oct 28, 2014 at 1:29 AM, Jeff Blackburne <jblackburne@…3027…> wrote:

On Tue, Oct 28, 2014 at 2:30 AM, Moore, Eric (NIH/NIDDK) [F] <eric.moore2@…3928…> wrote:

Hi,

Is it ever possible to edit the text produced by matplotlib when saving to ps, eps or pdf? No matter the combination of setting I try the text always imports as outlines rather than text.

If it makes a difference, I’m using CorelDraw. Does this work for anyone?

Eric

Hi Eric,

Have you tried setting text.usetex to True in your matplotlibrc? That might help. For Postscript files, you may also have to use Poppler or Xpdf as your distiller.

See http://matplotlib.org/users/usetex.html for more details.

Hope that helps,

Jeff



Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users