all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Eli Zaretskii <eliz@gnu.org>
Cc: juanjose.garciaripoll@gmail.com, emacs-devel@gnu.org
Subject: Re: Optional support for GDI+ on Windows (emacs-28)
Date: Wed, 01 Apr 2020 14:26:25 -0400	[thread overview]
Message-ID: <jwv8sjfrs24.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <83a73vyztt.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 01 Apr 2020 18:45:34 +0300")

> In most cases, but not all of them.  See above.

My point still holds: what you're asking for is not the "standard
implementation paradigm for optional features on MS-Windows".

> I don't think it is correct for us to commit ourselves to GDI+ right
> now.  We should first see if it is a 100% capable replacement, and
> learn about its advantages and disadvantages.  We always do that with
> new optional features: they start disabled.

His patch doesn't commit to the new code, and it is disabled
by default (it requires `--with-gdiplus`), so it seems to satisfy this
constraints just fine.

> This dependence on MS whims is one significant disadvantage of using
> the native capabilities where ports from Posix are available as
> replacements.

Obviously, I look at this from a very different angle: I'm hoping we can
eventually throw away most of our image handling code and just rely on
native libraries instead (tho I don't know a thing about what
a corresponding native library would be for X11/Cairo).

> So, by and large, I don't think it's reasonable to rush to GDI+
> without collecting experience first, and having those optional knobs
> is necessary for that.

A compile-time option seems plenty to get that experience.
It's what we've had for Cairo.


        Stefan




  reply	other threads:[~2020-04-01 18:26 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-30 19:26 Optional support for GDI+ on Windows (emacs-28) Juan José García-Ripoll
2020-03-31 14:12 ` Eli Zaretskii
2020-03-31 15:35   ` Juan José García-Ripoll
2020-03-31 16:47     ` Eli Zaretskii
2020-03-31 16:57       ` Alan Third
2020-03-31 17:41         ` Eli Zaretskii
2020-03-31 19:36           ` Alan Third
2020-03-31 19:43             ` Stefan Monnier
2020-04-01  2:26             ` Eli Zaretskii
2020-04-01 18:33               ` Alan Third
2020-04-01 19:10                 ` Eli Zaretskii
2020-03-31 17:27       ` Stefan Monnier
2020-03-31 17:52         ` Eli Zaretskii
2020-03-31 19:37           ` Stefan Monnier
2020-04-01 13:31             ` Eli Zaretskii
2020-04-01 14:58               ` Stefan Monnier
2020-04-01 15:45                 ` Eli Zaretskii
2020-04-01 18:26                   ` Stefan Monnier [this message]
2020-04-01 18:39                     ` Juanma Barranquero
2020-04-01 19:22                       ` Stefan Monnier
2020-04-01 19:24                         ` Juanma Barranquero
2020-04-01 19:12                     ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2020-03-30 23:09 Angelo Graziosi
2020-03-31  8:02 ` Juan José García-Ripoll

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=jwv8sjfrs24.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=juanjose.garciaripoll@gmail.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.