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 18:57:50 +0100 Message-ID: <87edt7dtup.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> <87ilik8zjs.fsf@gmx.net> <83v8mjweqm.fsf@gnu.org> <87h6y3447l.fsf@gmx.net> <83cz8rw5pq.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="37697"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stephen Berman , 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 18:58:26 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 1p447G-0009aD-Ce for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 10 Dec 2022 18:58:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p446u-0005KA-Ci; Sat, 10 Dec 2022 12:58:04 -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 1p446s-0005HV-M4 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 12:58: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 1p446s-0004xk-Dn for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 12:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p446s-0001i6-89 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 12:58:02 -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 17:58:02 +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.16706950786563 (code B ref 59802); Sat, 10 Dec 2022 17:58:02 +0000 Original-Received: (at 59802) by debbugs.gnu.org; 10 Dec 2022 17:57:58 +0000 Original-Received: from localhost ([127.0.0.1]:44245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p446n-0001hn-JO for submit@debbugs.gnu.org; Sat, 10 Dec 2022 12:57:57 -0500 Original-Received: from ledu-giraud.fr ([51.159.28.247]:33946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p446j-0001hh-0c for 59802@debbugs.gnu.org; Sat, 10 Dec 2022 12:57:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=g0MppZLWGx53pEMw OyRoQ7ldnTkx9vI+esoKisw8sIE=; h=date:references:in-reply-to:subject: cc:to:from; d=ledu-giraud.fr; b=r7MznKFr75orx7/PGSLmtsVM02HvR0WO/eqL/E kjDHkcBeDYkLImT69Ij7C2nMxDWPOb1b1g5LdwXbjAUmzF0KdAuYRI9JhgWPj3PbiqjZIM APfuZuUhUC3DrlI8fWPAaB401E9EprlzM759IU4CSXf4hre+MOGaky0ZIAhsxTiu12FRAV GjKo9a66iq6sgC8T4DZGFHaXKC3K5PyZePl2fV93nazfBEZfSpKD41nMrgyfaNS7k9j4I4 CmKDDLUPpAmejVcJpNOdwhVLmi/x01WSS3oSvDHMibtD/xb0lyAiQXxzbR2Ls0Y+UCWjrb odrpBWnTwIDmTf2OHg5Zjixw== Original-Received: from computer ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 94a55efc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 10 Dec 2022 18:57:51 +0100 (CET) In-Reply-To: <83cz8rw5pq.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Dec 2022 19:04:17 +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:250542 Archived-At: Eli Zaretskii writes: [...] > We are still discussing the problem with misalignment of images, are > we? Because most of what you describe is unrelated to that. (If > those other aspects bother you or surprise you, we can talk about that > as well.) Yes I think that this line numbering problem is something else (maybe). > As for the misalignment, I'm guessing that your librsvg is newer than > mine, so it supports scaling the SVG images as you scale text. My > librsvg doesn't support that, and so the SVG image remains aligned > with the XPM one, slightly lower than the baseline of the text (which > could probably controlled by the :ascent property of the image, if > that is a problem). You might be onto something here. What is your librsvg version? Mine is 2.54.2. > Manuel, if this is what you see, then try playing with :ascent. E.g., > did you try to use ":ascent 'center"? The display text property for those checkboxes already have an ":ascent 'center": --8<---------------cut here---------------start------------->8--- (image :type svg :file "/home/manuel/emacs/share/emacs/30.0.50/etc/images/checked.svg" :scale 1.1094117647058823 :transform-smoothing t :ascent center) --8<---------------cut here---------------end--------------->8--- FWIW, I once have played a bit with the background of those svg by replacing 0xFFFFFF by 0xEFEFEF at image.c:11419 and the background is in its right place but the image is off. -- Manuel Giraud