GNU bug report logs - #59802
30.0.50; Checkbox button not rendered

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Sat, 3 Dec 2022 10:41:02 UTC

Severity: minor

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 59802 <at> debbugs.gnu.org
Subject: bug#59802: 30.0.50; Checkbox button not rendered
Date: Sat, 10 Dec 2022 15:26:37 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

[...]

> And playing the video shows an empty screen here.

Oups.  I don't know why.  I've just re-download it from this mailing
list and it works for me.

Anyway, I have spotted one difference between `svg_load_image' on
"down.svg" (a correctly rendered svg) and "checked.svg" (an incorrectly
rendered one).

In the case of "down.svg", the call to
rsvg_handle_get_intrinsic_size_in_pixels (at image.c line 11281) is a
success and we directly have the viewbox size.

In the case of "checked.svg", this call returns 0 (no viewbox) so we
rely on another method to have the viewbox size.  This second method
does not work either because iwidth is in unit RSVG_UNIT_PERCENT so
width end up being zero.  So we rely on a third method to get the method
to get "checked.svg" viewbox.  This last one seems to work, but I just
wanted to state this difference and it might ring a bell to someone.
-- 
Manuel Giraud




This bug report was last modified 2 years and 157 days ago.

Previous Next


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