From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.bugs Subject: bug#59802: 30.0.50; Checkbox button not rendered Date: Sat, 10 Dec 2022 15:26:37 +0100 Message-ID: <87ilije3mq.fsf@ledu-giraud.fr> References: <87v8mshit6.fsf@ledu-giraud.fr> <838rjoendw.fsf@gnu.org> <87r0xgh7c3.fsf@ledu-giraud.fr> <83zgc4crg6.fsf@gnu.org> <87ilisgxbi.fsf@ledu-giraud.fr> <83lenocoge.fsf@gnu.org> <87edtggol3.fsf@ledu-giraud.fr> <83359vd535.fsf@gnu.org> <87cz8s3gq7.fsf@ledu-giraud.fr> <83sfhozreh.fsf@gnu.org> <87bkocfznq.fsf@ledu-giraud.fr> <83wn6zwete.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59802@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 10 15:27:28 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p40p6-0008Pb-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Dec 2022 15:27:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p40om-0007dX-KK; Sat, 10 Dec 2022 09:27:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p40og-0007ah-BG for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 09:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p40og-0007qy-2B for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 09:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p40of-0007ei-RW for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 09:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Manuel Giraud Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Dec 2022 14:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59802 X-GNU-PR-Package: emacs Original-Received: via spool by 59802-submit@debbugs.gnu.org id=B59802.167068240329417 (code B ref 59802); Sat, 10 Dec 2022 14:27:01 +0000 Original-Received: (at 59802) by debbugs.gnu.org; 10 Dec 2022 14:26:43 +0000 Original-Received: from localhost ([127.0.0.1]:43044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p40oM-0007eP-Ow for submit@debbugs.gnu.org; Sat, 10 Dec 2022 09:26:43 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:34192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p40oK-0007eH-36 for 59802@debbugs.gnu.org; Sat, 10 Dec 2022 09:26:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=Gcz54ua+eAkjg2Y8 RsHbAaDsZXdhPyoB/kGfWCW8L1E=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=prfW9eUlVqZY9mTkwczFEmXVh2Ij1sGNO28L7O QMd84yYKYZsWwZ4D5uQ4lBP4mlsVRB/JFd+Bi6lJhEib6upGxR5Gmke2AouoP31OgioAiI 7XRGQQUr7f3FfYffWEGSzQZPsfxnglU8Z2TDa/AOP8JYuncw4DL0Tk5qfNDWPFxh8rhISK YHsixyt97AfgaEz8gaBTHwTWjTJD1K5wEGT0ONoc7P3QjmFqhlxzkyK0z6gQzn8305GUKk sLvogQaxBU4XLOnFaajNmS0yExwTnYoHFAgbs39jQn7j1rVntTRDfHTDeE9YUtNkThTn6d N7i3Qtqf3/6jWIp9uAjKoylQ== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id aceac8f7 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 10 Dec 2022 15:26:38 +0100 (CET) In-Reply-To: <83wn6zwete.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Dec 2022 15:47:41 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250525 Archived-At: Eli Zaretskii 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