all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Caldwell <david@porkrind.org>
To: Po Lu <luangruo@yahoo.com>, Eli Zaretskii <eliz@gnu.org>
Cc: 61974@debbugs.gnu.org
Subject: bug#61974: 29.0.60; customize checkbox and radio widgets don't render on macOS
Date: Sun, 5 Mar 2023 12:26:13 -0800	[thread overview]
Message-ID: <2f9a024d-e9b5-b230-cdfd-6649e594c162@porkrind.org> (raw)
In-Reply-To: <877cvvtr79.fsf@yahoo.com>

On 3/5/23 2:42 AM, Po Lu wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>> My impression was that such a conclusion would be too drastic, as many
>> SVG images can undoubtedly be displayed.
> 
> I don't know... Emacs code has never been prepared for native SVG
> display before, as this is a new feature in Mac OS.

The splash screen renders nicely, at least.

I poked around a little more and found that the OS seems to be just 
ignoring the "em" in "height=1em" and setting its height to 1. I thought 
maybe if I forced the image height to something reasonable that it would 
render but it doesn't change anything--still just a blank image.

One thought I had was that maybe Emacs is approaching this 
backward—currently the widget code says "please draw the checkbox here" 
and the checkbox svg says "I should be one lineheight high please". What 
if it instead the widget code said "Please draw the checkbox image here 
with the height of my line" and the image said nothing.

The complication there is that you probably don't want to scale 
non-vector images.

But that also is kind of a drastic change.





      reply	other threads:[~2023-03-05 20:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-05  1:35 bug#61974: 29.0.60; customize checkbox and radio widgets don't render on macOS David Caldwell
2023-03-05  6:25 ` Eli Zaretskii
2023-03-05  8:01   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-05  8:26     ` Eli Zaretskii
2023-03-05 10:42       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-05 20:26         ` David Caldwell [this message]

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=2f9a024d-e9b5-b230-cdfd-6649e594c162@porkrind.org \
    --to=david@porkrind.org \
    --cc=61974@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    /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.