SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] svg fonts and mathtext

From: Michael D. <md...@st...> - 2007年09月07日 20:31:35
As of r3815, you can do \AA in a mathtext expression.
It would be very easy to support both \angstrom and \AA, but in the 
interests of trying to be as LaTeX-like as possible, I think we should 
just do \AA, though IMHO \angstrom is easier to remember. I couldn't 
find references anywhere to \angstrom being a real command in LaTeX (and 
it doesn't work by default on my LaTeX installation when I tried it.) 
But I may just not be Googling right. If you can find a reference, I'm 
happy to make the one-line change to support it.
Cheers,
Mike
william ratcliff wrote:
> It may be a hassle, but perhaps you could allow
> \AA and \angstrom to both represent angstrom.
> 
> Thanks!!!
> 
> William
> 
> On 9/7/07, *Michael Droettboom * <md...@st... 
> <mailto:md...@st...>> wrote:
> 
> Sorry -- that used to work, but fell through the cracks in the recent
> mathtext rewrite. It shouldn't be difficult to add back in. I'll let
> you know when that's done.
> 
> Cheers,
> Mike
> 
> william ratcliff wrote:
> > Maybe I'm doing something wrong, but is there support for \AA {the
> > angstrom} symbol within mathtext for any of the backends? If
> not, would
> > it be difficult to add?
> >
> > Thanks,
> > William
> >
> > On 9/7/07, *Paul Kienzle* < pki...@ni...
> <mailto:pki...@ni...> <mailto:pki...@ni...
> <mailto:pki...@ni...>>>
> > wrote:
> >
> > On Fri, Sep 07, 2007 at 03:09:10PM -0400, Michael Droettboom
> wrote:
> > > Paul Kienzle wrote:
> > > > On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael
> Droettboom wrote:
> > > >> Paul Kienzle wrote:
> > > > Note: Adobe SVGViewer doesn't see the embedded fonts,
> but it
> > works if I
> > > > have the fonts installed. Oh, well!
> > >
> > > With the embedded fonts, you mean the text just doesn't
> show up
> > at all?
> >
> > It looks the same as the version without embedded fonts,
> which is
> > that it
> > chooses some incorrect default font with the wrong character
> codes as I
> > showed earlier.
> >
> > I thought unicode was supposed to give unique codes to the
> characters
> > so that even if the font was wrong, at least you would get
> the correct
> > glyph from the font. Or does this only happen at a higher level?
> >
> > > Do you know if the SVG output from Cairo works with
> > Adobe? They use a
> > > similar (but not identical) approach to embedding the
> character
> > outlines.
> >
> > I'm not set up to run Cairo, but I can check if someone sends
> me an svg.
> >
> > - Paul
> >
> > 
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and
> a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Matplotlib-devel mailing list
> > Mat...@li...
> <mailto:Mat...@li...>
> > <mailto: Mat...@li...
> <mailto:Mat...@li...>>
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> >
> >
> 
> -- 
> Michael Droettboom
> Operations and Engineering Division
> Space Telescope Science Institute
> Operated by AURA for NASA
> 
> 
-- 
Michael Droettboom
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 によって変換されたページ (->オリジナル) /