SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] superscript and font size

From: Michael D. <md...@st...> - 2008年04月28日 20:38:22
Paul Kienzle wrote:
> On Thu, Apr 24, 2008 at 08:38:02AM -0400, Michael Droettboom wrote:
> 
>> Paul Kienzle wrote:
>> 
>>> Hi,
>>>
>>> The superscripts in mpl don't seem to be placed at the correct height for
>>> small fonts. The y-tics on the attached plot shows this. The effect is
>>> similar in svg and pdf backends.
>>> 
>>> 
>> Thanks. When looking up the x-height, the code was not taking the font 
>> size into account. This has been fixed on the branch and trunk.
>> 
>
> Thanks. It looks much better in png, but pdf has the subscript raised much
> higher, 
That was a DPI-related bug, that is hopefully now fixed in SVN.
> and svg isn't rendering fonts at all (see attached).
> 
Thanks. The SVG was broken in SVN March 26 trying to workaround an 
Inkscape copy/paste bug. I think it is fixed now so it works in Mozilla 
and Inkscape simultaneously. But please let me know if you see anything 
fishy -- there seems to be a great deal of variability between SVG viewers.
Are you seeing this bug with 0.91.2 release, or just the 0.91.2 SVN 
branch? I'd be surprised by the former (and I can't reproduce it there).
Cheers, and thanks for your patience,
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

View entire thread

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 によって変換されたページ (->オリジナル) /