GNU bug report logs -
#44065
28.0.50; SVG image not shown completely
Previous Next
Reported by: styang <at> fastmail.com
Date: Sun, 18 Oct 2020 15:08:02 UTC
Severity: normal
Found in version 28.0.50
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#44065: 28.0.50; SVG image not shown completely
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 44065 <at> debbugs.gnu.org.
--
44065: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44065
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
On Thu, Oct 22, 2020 at 03:51:21PM +0300, Eli Zaretskii wrote:
> > From: Lars Ingebrigtsen <larsi <at> gnus.org>
> > Cc: Eli Zaretskii <eliz <at> gnu.org>, styang <at> fastmail.com,
> > stephen.berman <at> gmx.net, 44065 <at> debbugs.gnu.org
> > Date: Thu, 22 Oct 2020 13:42:48 +0200
> >
> > Alan Third <alan <at> idiocy.org> writes:
> >
> > > Should I put that note in documentation somewhere or just leave it as
> > > a comment in the code?
> >
> > A comment in the code would be fine, I think.
>
> Right. Maybe we should also have a PROBLEMS entry about this?
I've done both and pushed to master. I don't think there's anything
else to be done here so I'm closing the bug report. Thanks all.
--
Alan Third
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Emacs stopped showing SVG files completely (i.e. it is shown cropped), with 8f42b94fe43 the offending commit. This commit intends to resolve bug#40845.
Please find the SVG file (1.svg) I use and the render image (1.png) in attachment. Notice the cropped part at the bottom and on the right side. The SVG file can be correctly viewed by Emacs 27, and other photo viewers like eog or gThumb. The file attached embeds an SVG element inside another, which seems to be discouraged by https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40845#68. However, according to Mozilla MDN (https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg),
> The svg element is a container that defines a new coordinate system and viewport. It is used as the outermost element of SVG documents, but it can also be used to embed an SVG fragment inside an SVG or HTML document.
> Note: The xmlns attribute is only required on the outermost svg element of SVG documents. It is unnecessary for inner svg elements or inside HTML documents.
So the file IS a valid SVG file.
[1.svg (image/svg+xml, attachment)]
[1.png (image/png, attachment)]
[Message part 7 (text/plain, inline)]
--
Sheng Yang(杨圣), PhD candidate
Computer Science Department
University of Maryland, College Park
E-mail: styang <at> fastmail.com
E-mail(old): yangsheng6810 <at> gmail.com
This bug report was last modified 4 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.