all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jasonr@f2s.com
Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: [PING] ClearType Patch
Date: Thu,  9 Jun 2005 09:10:28 +0100	[thread overview]
Message-ID: <1118304628.42a7f974aab30@webmail.freedom2surf.net> (raw)
In-Reply-To: <uacm01oiy.fsf@boost-consulting.com>

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

  reply	other threads:[~2005-06-09  8:10 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 [this message]
2005-06-11 13:12                       ` Eli Zaretskii
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

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

  git send-email \
    --in-reply-to=1118304628.42a7f974aab30@webmail.freedom2surf.net \
    --to=jasonr@f2s.com \
    --cc=eliz@gnu.org \
    --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 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.