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: Alan Third
Subject: bug#52599: 29.0.50; Unproportional Unicode character scale in SVG overlay
Date: Tue, 21 Dec 2021 20:55:56 +0000

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.
-- 
Alan Third





reply via email to

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