all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Manuel Giraud <manuel@ledu-giraud.fr>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Stephen Berman <stephen.berman@gmx.net>, 59802@debbugs.gnu.org
Subject: bug#59802: 30.0.50; Checkbox button not rendered
Date: Mon, 12 Dec 2022 17:56:38 +0100	[thread overview]
Message-ID: <87k02wd0hl.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <83k02yszqf.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 11 Dec 2022 17:54:00 +0200")

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Hi (again),

Here is another patch that IMHO does a better job (at least in this use
case: a button with a label).  I also attach a little video that shows
its behaviour (hope you could read it).  WDYT?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-another-test.patch --]
[-- Type: text/x-patch, Size: 900 bytes --]

From 54f00f61a56f97fcf80214d303b3a806a4fc0484 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@ledu-giraud.fr>
Date: Mon, 12 Dec 2022 17:39:57 +0100
Subject: [PATCH] another test

---
 src/image.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/image.c b/src/image.c
index 7db6c9d2fc..d190e8f98a 100644
--- a/src/image.c
+++ b/src/image.c
@@ -11157,9 +11157,13 @@ svg_css_length_to_pixels (RsvgLength length, double dpi, int font_size)
       value *= font_size;
       break;
 #endif
+    case RSVG_UNIT_PERCENT:
+      /* We use percent of the font_size.  */
+      value *= font_size;
+      break;
     default:
-      /* Probably ex or %.  We can't know what the pixel value is
-         without more information.  */
+      /* Probably ex.  We can't know what the pixel value is without
+         more information.  */
       value = 0;
     }
 
-- 
2.38.1


[-- Attachment #3: video.mp4 --]
[-- Type: video/mp4, Size: 459594 bytes --]

[-- Attachment #4: Type: text/plain, Size: 18 bytes --]

-- 
Manuel Giraud

  parent reply	other threads:[~2022-12-12 16:56 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-03 10:40 bug#59802: 30.0.50; Checkbox button not rendered Manuel Giraud
2022-12-03 11:29 ` Eli Zaretskii
2022-12-03 14:47   ` Manuel Giraud
2022-12-03 17:44     ` Eli Zaretskii
2022-12-03 18:16       ` Manuel Giraud
2022-12-03 18:22         ` Eli Zaretskii
2022-12-03 18:24       ` Manuel Giraud
2022-12-03 18:49         ` Eli Zaretskii
2022-12-03 21:32           ` Manuel Giraud
2022-12-04  7:02             ` Eli Zaretskii
2022-12-09 12:26               ` Manuel Giraud
2022-12-09 12:35                 ` Eli Zaretskii
2022-12-09 13:41                   ` Stephen Berman
2022-12-09 14:07                     ` Manuel Giraud
2022-12-09 14:14                       ` Stephen Berman
2022-12-10 13:49                     ` Eli Zaretskii
2022-12-10 16:24                       ` Stephen Berman
2022-12-10 17:04                         ` Eli Zaretskii
2022-12-10 17:57                           ` Manuel Giraud
2022-12-10 18:38                             ` Eli Zaretskii
2022-12-11 13:12                           ` Stephen Berman
2022-12-11 14:47                             ` Eli Zaretskii
2022-12-11 15:54                             ` Eli Zaretskii
2022-12-11 22:40                               ` Stephen Berman
2022-12-12 17:42                                 ` Eli Zaretskii
2022-12-12 23:38                                   ` Stephen Berman
2022-12-12 12:33                               ` Manuel Giraud
2022-12-12 16:56                               ` Manuel Giraud [this message]
2022-12-12 17:25                                 ` Stephen Berman
2022-12-12 17:38                                 ` Eli Zaretskii
2022-12-13  9:21                                   ` Manuel Giraud
2022-12-13 10:16                                     ` Stephen Berman
2022-12-13 12:49                                     ` Eli Zaretskii
2022-12-13 16:16                                       ` Manuel Giraud
2022-12-13 16:40                                         ` Eli Zaretskii
2022-12-13 17:15                                           ` Manuel Giraud
2022-12-13 17:36                                             ` Eli Zaretskii
2022-12-16  8:27                                               ` Manuel Giraud
2022-12-16 15:51                                                 ` Eli Zaretskii
2022-12-16 16:09                                                   ` Manuel Giraud
2022-12-09 13:57                   ` Manuel Giraud
2022-12-10 13:47                     ` Eli Zaretskii
2022-12-10 14:26                       ` Manuel Giraud

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k02wd0hl.fsf@ledu-giraud.fr \
    --to=manuel@ledu-giraud.fr \
    --cc=59802@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=stephen.berman@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.