GNU bug report logs - #67533
SVG images confound position pixel measurements

Previous Next

Package: emacs;

Reported by: JD Smith <jdtsmith <at> gmail.com>

Date: Wed, 29 Nov 2023 20:33:01 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #80 received at 67533 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 67533 <at> debbugs.gnu.org, jdtsmith <at> gmail.com
Subject: Re: bug#67533: SVG images confound position pixel measurements
Date: Sun, 03 Dec 2023 18:31:18 +0200
> Cc: 67533 <at> debbugs.gnu.org
> Date: Sun, 03 Dec 2023 17:52:12 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > From: JD Smith <jdtsmith <at> gmail.com>
> > Date: Sun, 3 Dec 2023 10:48:20 -0500
> > Cc: 67533 <at> debbugs.gnu.org
> > 
> > > The cumulative patch below should fix all the problems you threw on me
> > > till now.
> > 
> > Most excellent, thank you for the sleuthing Eli!  Your roll-up patch applies cleanly and fixes all the pixel size related issues in my large complex org-with-latex-preview file.  I can induce the same behavior in my original svg-generating code by bumping the default width up to:
> > 
> >       (w (+ 142 (* 2 (round (expt (1+ r) 1.25)))))
> > 
> > and it solves it there too. (I’ve updated the gist to do this, and included the final function below, for posterity).
> 
> Thanks, I will install the changes (on master) soon.

Now done.

Is there anything else to do here, or can we close this bug?

Thanks.




This bug report was last modified 1 year and 156 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.