From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PING] ClearType Patch Date: Wed, 08 Jun 2005 19:34:01 -0400 Message-ID: <877jh4e85o.fsf-monnier+emacs@gnu.org> References: <1117787455.42a0153fdf46f@webmail.freedom2surf.net> <1118072836.42a47004de422@webmail.freedom2surf.net> <1118265839.42a761ef2be05@webmail.freedom2surf.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118273808 27816 80.91.229.2 (8 Jun 2005 23:36:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Jun 2005 23:36:48 +0000 (UTC) Cc: David Abrahams , Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 01:36:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DgA53-0005jx-LM for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2005 01:35:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgA7W-0000hl-MG for ged-emacs-devel@m.gmane.org; Wed, 08 Jun 2005 19:38:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DgA6a-0000dY-RD for emacs-devel@gnu.org; Wed, 08 Jun 2005 19:37:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DgA6Y-0000bq-17 for emacs-devel@gnu.org; Wed, 08 Jun 2005 19:37:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DgA6U-0000W2-OK for emacs-devel@gnu.org; Wed, 08 Jun 2005 19:36:59 -0400 Original-Received: from [209.226.175.25] (helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DgA3e-0003rt-24; Wed, 08 Jun 2005 19:34:02 -0400 Original-Received: from alfajor ([70.48.82.205]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050608233359.NKS26128.tomts5-srv.bellnexxia.net@alfajor>; Wed, 8 Jun 2005 19:33:59 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 74A60D73A3; Wed, 8 Jun 2005 19:34:01 -0400 (EDT) Original-To: jasonr@f2s.com In-Reply-To: <1118265839.42a761ef2be05@webmail.freedom2surf.net> (jasonr@f2s.com's message of "Wed, 8 Jun 2005 22:23:59 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38392 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38392 > completely different scripts especially will suffer). I think performance in > this case is more important than the rare case where a user changes their > system settings during an Emacs session and starts seeing the display problems > (which are really nothing more than a minor annoyance), 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() If you care about changes mid-session, you can check it at each redisplay. Should be both cheap enough and frequent enough. Stefan