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: Eli Zaretskii <eliz <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: stephen.berman <at> gmx.net, 59802 <at> debbugs.gnu.org
Subject: bug#59802: 30.0.50; Checkbox button not rendered
Date: Sat, 10 Dec 2022 20:38:21 +0200
> From: Manuel Giraud <manuel <at> ledu-giraud.fr>
> Cc: Stephen Berman <stephen.berman <at> gmx.net>,  59802 <at> debbugs.gnu.org
> Date: Sat, 10 Dec 2022 18:57:50 +0100
> 
> > 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.

I use 2.40.1.

> > 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---

And if you use :ascent 0 does it have any effect?




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.