SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Eric M. <ew...@re...> - 2015年02月18日 16:19:38
Hi,
I posted on the user list a while back about saving editable text using the
postscript backend [1]. There I was informed that this was changed a few
years ago to individually place glyphs. It looks to me, that this change
was about correctly supporting unicode in this backend [2].
Would the project be open to changing this to produce text runs when all of
the characters are ascii? This way, the general unicode case should still
work but runs of text where the special handling is not necessary should
result in editable text. I'm happy to work up a patch, but I don't want to
spend the time if there is no hope of it being merged.
My use case is to be able to make some tweaks to figures post mpl. In my
case this tends to be to either combine figures from several sources into a
single coherent figure or to adjust the figure size or spacing slightly so
the final figure fits into the space available. All of this can be done in
mpl directly, but in terms of effective use of my time, opening the figure
in Corel Draw, Inkscape or Illustrator is much faster since I can get the
figure 90% of the way there quickly and easily using mpl.
Eric
1. http://thread.gmane.org/gmane.comp.python.matplotlib.general/34816
2.
https://github.com/matplotlib/matplotlib/commit/80321a3b489994748b79e41bc34a65f836a9a03f
From: Benjamin R. <bre...@gm...> - 2015年02月19日 14:42:40
I am in favor of such a change. I also have rcParams['pdf.fonttype'] = 42, so I can use Adobe Illustrator to tweak my mpl generated plots. Changing a word in Illustrator becomes quite a pain when every glyph is a separate text box.
-Ben Reedlunn
On Feb 18, 2015, at 8:52 AM, Eric Moore <ew...@re...> wrote:
> Hi, 
> 
> I posted on the user list a while back about saving editable text using the postscript backend [1]. There I was informed that this was changed a few years ago to individually place glyphs. It looks to me, that this change was about correctly supporting unicode in this backend [2].
> 
> Would the project be open to changing this to produce text runs when all of the characters are ascii? This way, the general unicode case should still work but runs of text where the special handling is not necessary should result in editable text. I'm happy to work up a patch, but I don't want to spend the time if there is no hope of it being merged.
> 
> My use case is to be able to make some tweaks to figures post mpl. In my case this tends to be to either combine figures from several sources into a single coherent figure or to adjust the figure size or spacing slightly so the final figure fits into the space available. All of this can be done in mpl directly, but in terms of effective use of my time, opening the figure in Corel Draw, Inkscape or Illustrator is much faster since I can get the figure 90% of the way there quickly and easily using mpl. 
> 
> Eric
> 
> 1. http://thread.gmane.org/gmane.comp.python.matplotlib.general/34816
> 2. https://github.com/matplotlib/matplotlib/commit/80321a3b489994748b79e41bc34a65f836a9a03f
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk_______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
From: Benjamin R. <ben...@ou...> - 2015年02月19日 15:00:04
I would be +1 on this as well. Various command-line text extraction tools
are near useless with the current state.
On Thu, Feb 19, 2015 at 9:42 AM, Benjamin Reedlunn <bre...@gm...>
wrote:
> I am in favor of such a change. I also have rcParams['pdf.fonttype'] =
> 42, so I can use Adobe Illustrator to tweak my mpl generated plots.
> Changing a word in Illustrator becomes quite a pain when every glyph is a
> separate text box.
>
> -Ben Reedlunn
>
> On Feb 18, 2015, at 8:52 AM, Eric Moore <ew...@re...> wrote:
>
> Hi,
>
> I posted on the user list a while back about saving editable text using
> the postscript backend [1]. There I was informed that this was changed a
> few years ago to individually place glyphs. It looks to me, that this
> change was about correctly supporting unicode in this backend [2].
>
> Would the project be open to changing this to produce text runs when all
> of the characters are ascii? This way, the general unicode case should
> still work but runs of text where the special handling is not necessary
> should result in editable text. I'm happy to work up a patch, but I don't
> want to spend the time if there is no hope of it being merged.
>
> My use case is to be able to make some tweaks to figures post mpl. In my
> case this tends to be to either combine figures from several sources into a
> single coherent figure or to adjust the figure size or spacing slightly so
> the final figure fits into the space available. All of this can be done in
> mpl directly, but in terms of effective use of my time, opening the figure
> in Corel Draw, Inkscape or Illustrator is much faster since I can get the
> figure 90% of the way there quickly and easily using mpl.
>
> Eric
>
> 1. http://thread.gmane.org/gmane.comp.python.matplotlib.general/34816
> 2.
> https://github.com/matplotlib/matplotlib/commit/80321a3b489994748b79e41bc34a65f836a9a03f
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk_______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /