bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52599: 29.0.50; Unproportional Unicode character scale in SVG overla


From: Matsievskiy S.V.
Subject: bug#52599: 29.0.50; Unproportional Unicode character scale in SVG overlay
Date: Wed, 22 Dec 2021 11:49:26 +0300
User-agent: Evolution 3.42.2-1

> Or is there some custom mathjax CSS that's supposed to be applied?

I ended up exposing ex size configuration to customize.

I'm fine with leaving things as they are now and just wait for MathJax
to add more fonts in future releases.

-- 
Best regards,
S.V. Matsievskiy

On Tue, 2021-12-21 at 20:55 +0000, Alan Third wrote:
> On Tue, Dec 21, 2021 at 03:15:44PM +0300, Matsievskiy S.V. wrote:
> > > So what we end up with is that the text scales directly according
> > > to
> > > the font size and the paths scale according to whatever nonsense
> > > librsvg returns for the image size. 
> > 
> > Aren't these characters associated with the svg overlay? If so, it
> > should be possible to apply image scaling rules to them, or is it
> > too
> > much work?
> 
> To just use image scaling rules set the css to "". That way
> increasing
> the font size won't change the font size in the image and this
> problem
> won't rear it's ugly head.
> 
> I suspect this should be considered a bug in the mathjax output. It's
> relying on the default font being a specific size, and when it's not
> then the scaling goes all wonky. I guess this means they expect that
> all SVG renderers always use the exact same font size?
> 
> Or is there some custom mathjax CSS that's supposed to be applied?
> I've had a quick look at the mathjax documentation and it doesn't
> look
> like it. They say that SVG output doesn't use text directly so is
> unaffected by font problems. 😒
> 
> I don't think we want to change our default CSS to not set the font
> size as that would make using SVGs in-line with text more
> complicated.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]