From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jasonr@f2s.com Newsgroups: gmane.emacs.devel Subject: Re: Emacs defeats ClearType Date: Fri, 3 Jun 2005 16:22:26 +0100 Message-ID: <1117812146.42a075b23c1bb@webmail.freedom2surf.net> References: <1117787455.42a0153fdf46f@webmail.freedom2surf.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1117812734 9792 80.91.229.2 (3 Jun 2005 15:32:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Jun 2005 15:32:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 03 17:32:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DeE5j-0004bA-CS for ged-emacs-devel@m.gmane.org; Fri, 03 Jun 2005 17:28:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeEBS-0008VN-1q for ged-emacs-devel@m.gmane.org; Fri, 03 Jun 2005 11:34:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DeE9u-0007of-Sa for emacs-devel@gnu.org; Fri, 03 Jun 2005 11:32:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DeE9p-0007mA-WA for emacs-devel@gnu.org; Fri, 03 Jun 2005 11:32:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DeE9p-0007ac-FZ for emacs-devel@gnu.org; Fri, 03 Jun 2005 11:32:25 -0400 Original-Received: from [194.106.33.239] (helo=mail5.freedom2surf.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DeE2x-0000YO-3O for emacs-devel@gnu.org; Fri, 03 Jun 2005 11:25:19 -0400 Original-Received: from i-194-106-33-239.freedom2surf.net (i-194-106-33-239 [127.0.0.1]) by mail5.freedom2surf.net (8.12.11/8.12.11) with ESMTP id j53FMQkQ007306; Fri, 3 Jun 2005 16:22:26 +0100 Original-Received: (from apache@localhost) by i-194-106-33-239.freedom2surf.net (8.12.11/8.12.11/Submit) id j53FMQOJ007305; Fri, 3 Jun 2005 16:22:26 +0100 X-Authentication-Warning: i-194-106-33-239.freedom2surf.net: apache set sender to jasonr@f2s.com using -f Original-Received: from 217.205.90.2 ([217.205.90.2]) by webmail.freedom2surf.net (IMP) with HTTP for ; Fri, 3 Jun 2005 16:22:26 +0100 Original-To: David Abrahams In-Reply-To: User-Agent: Internet Messaging Program (IMP) 3.2.3 X-Originating-IP: 217.205.90.2 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:38080 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38080 Quoting David Abrahams : > jasonr@f2s.com writes: > > > Quoting David Abrahams : > > > >> When ClearType > >> (http://www.microsoft.com/typography/cleartype/tuner/Step1.aspx) is > >> enabled on an NT build of Emacs, it's very common for emacs to "slice > >> off" a few antialiased pixels on either side of a character's vertical > >> member. It happens especially in lines that are being typed. You can > >> see examples in this sentence of characters whose vertical members > >> appear to be thin, red lines (image enclosed). > > > > This happens because Windows tells lies about the width of characters when > > sub-pixel antialiasing is in effect. > > > > You are welcome to investigate a way around this if you want. > > I would be happy to. Can someone at least point me at the source > file(s) that are responsible for character display in NT builds of > emacs, so I know where to start looking? Most of the platform specific display is done in w32term.c, but some functions in w32fns.c are also involved.