unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Cc: dave@boost-consulting.com, emacs-devel@gnu.org
Subject: Re: [PING] ClearType Patch
Date: Sat, 11 Jun 2005 16:12:24 +0300	[thread overview]
Message-ID: <uzmtx6nrb.fsf@gnu.org> (raw)
In-Reply-To: <1118304628.42a7f974aab30@webmail.freedom2surf.net> (jasonr@f2s.com)

> Date: Thu,  9 Jun 2005 09:10:28 +0100
> From: jasonr@f2s.com
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> 
> Quoting David Abrahams <dave@boost-consulting.com>:
> 
> > > #ifndef SPI_GETFONTSMOOTHINGTYPE
> > > #define SPI_GETFONTSMOOTHINGTYPE 0x0200A
> > > #endif
> >
> > Makes sense.  I just didn't know how close this was, legally speaking,
> > to copying MS code into GPL'd code, and didn't want to risk it.  But
> > if you say it's fine, I'm happy.
> 
> To be safe, I would write the code from the API documentation, not copy from the
> headers ;-) Or if the constants are in mingw headers, copy from there.
> 
> > > (which are really nothing more than a minor annoyance),
> >
> > Unless you happen to actually use ClearType, in which case it's
> > killer.
> 
> Killer implies that Emacs crashes or is otherwise unusable. In this case, a few
> characters (w and m mainly, or italics) have slightly thinner lines at the
> edges, since we are clipping pixels that the system claims are not there.
> 
> >
> > > so I'd be happier moving the check for Cleartype into
> > > w32_initialize() and just checking a file scope variable in
> > > w32_native_per_char_metric()
> >
> > Is there some appropriate windows event (like "application just came
> > to the foreground", however you spell that in Wind-ese)
> 
> There is a configuration change event that we could use to reevaluate all our
> settings that are made from system configuration. There are others that could
> benefit from this as well (system colors, scroll bar widths for example).

David, if it is now clear to you, based on these and other comments
from Jason, how to write an improved patch, please post it here and I
will install it.

If you still have questions, please ask here.

TIA

  reply	other threads:[~2005-06-11 13:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-02 12:38 Emacs defeats ClearType David Abrahams
2005-06-03  8:30 ` jasonr
2005-06-03 10:54   ` David Abrahams
2005-06-03 15:22     ` jasonr
2005-06-03 15:27   ` David Abrahams
2005-06-06 15:47     ` jasonr
2005-06-06 16:46       ` David Abrahams
2005-06-07  1:15         ` Miles Bader
2005-06-07 13:20           ` David Abrahams
2005-06-08 13:45         ` [PING] ClearType Patch David Abrahams
2005-06-08 14:33           ` Eli Zaretskii
2005-06-08 15:46             ` David Abrahams
2005-06-08 16:44               ` Stefan Monnier
2005-06-08 20:01                 ` David Abrahams
2005-06-08 18:22               ` Eli Zaretskii
2005-06-08 19:57                 ` David Abrahams
2005-06-08 21:29                   ` jasonr
2005-06-08 21:23                 ` jasonr
2005-06-08 22:17                   ` David Abrahams
2005-06-09  8:10                     ` jasonr
2005-06-11 13:12                       ` Eli Zaretskii [this message]
2005-06-11 16:50                         ` David Abrahams
2005-06-15  7:15                           ` David Abrahams
2005-06-15  9:19                             ` David Abrahams
2005-06-18 23:02                               ` How is highlighting done in show-paren-mode? David Abrahams
2005-07-14 18:55                                 ` Who can explain the display architecture? David Abrahams
2005-07-15  9:41                                   ` Kim F. Storm
2005-06-08 23:34                   ` [PING] ClearType Patch Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uzmtx6nrb.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dave@boost-consulting.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).