From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Adrian Robert" Newsgroups: gmane.emacs.devel Subject: Re: font-backend mechanism on Windows and Mac? Date: Fri, 14 Sep 2007 09:52:23 -0400 Message-ID: <55f7df060709140652x54b42e4ax414969f07ad6ac21@mail.gmail.com> References: <46E4F571.3030101@gnu.org> <46E54A83.2070702@gnu.org> <46E54B7B.3070104@gnu.org> <55f7df060709130853q25979167p465e8e7591000ca2@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189777970 19360 80.91.229.12 (14 Sep 2007 13:52:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Sep 2007 13:52:50 +0000 (UTC) Cc: jasonr@gnu.org, emacs-devel@gnu.org To: "Kenichi Handa" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 14 15:52:48 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IWBb2-0005vQ-RM for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2007 15:52:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWBaz-0008Vl-7L for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2007 09:52:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IWBav-0008Pd-57 for emacs-devel@gnu.org; Fri, 14 Sep 2007 09:52:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IWBat-0008LM-Im for emacs-devel@gnu.org; Fri, 14 Sep 2007 09:52:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWBat-0008L8-G6 for emacs-devel@gnu.org; Fri, 14 Sep 2007 09:52:27 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IWBat-00022A-26 for emacs-devel@gnu.org; Fri, 14 Sep 2007 09:52:27 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so659077rvf for ; Fri, 14 Sep 2007 06:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=7qs+bdzQ7Bd0yikROa89jOF3Jwrdt9fDJBabauS2/6k=; b=rYWzMrqvB1K3yQxv6TV0muceR7hvoKxLJzjaeq6f8KJ0z7as/4gNISETwz1c/Hjx9YyzMdHyeiJWCpSW2uXO2rdvW7c3XM+RIHxKCi4DDr9PjmhKq1Pkz6e86C3fEVweVj4EfXIchd+YcJd4OLMV3NW/rldSQaTsVS0EdhGJb58= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=O/8ZxURYhuci7R6nytA0XpdZgZDicRhG1Nz58vVe9W4136BzYjoC7m3hEI7HX5T8rlohPvqZ5UP7xV3YKiM78Gj0GkA6oKlQJQo8hefTXGojxdg/8QbZDFScSbM0Zt1rKt0H+3bjQ6V1JiT/yh64NfohAQuo4I1pj2xzGoquVv0= Original-Received: by 10.142.185.13 with SMTP id i13mr451365wff.1189777943837; Fri, 14 Sep 2007 06:52:23 -0700 (PDT) Original-Received: by 10.141.164.19 with HTTP; Fri, 14 Sep 2007 06:52:23 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 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:78880 Archived-At: On 9/13/07, Kenichi Handa wrote: > In article <55f7df060709130853q25979167p465e8e7591000ca2@mail.gmail.com>, "Adrian Robert" writes: > > > I assume it does, however I can't replicate the error as described > > because dragging windows from other apps over emacs does not cause > > redraws under my port. (Did I understand the symptom report > > correctly?) I guess something else causing a redraw could work: > > Moving cursor over? Dragging mouse selection over? > > As far as I know, the bug is in expose_window (xdisp.c) and > what called from there. And expose_window is triggered by > Expose or GraphicExpose events. So, if Mac Cocoa uses > "backing store", such events doesn't happend, thus the bug > won't be revealed. Isn't it possbile to suppress backing > streo on Cocoa? It is, but because this is not used normally (not recommended under Cocoa) rectangle expose events aren't even generated by the port, so I'd need to add that to check. However, looking at the patch, it seems the change is to use multiple clip rects in some row overlap cases. In the Cocoa port there is a bug where the upper parts of Tibetan text are cut off until cursor is moved over them, and it may be related to this. I'll try the patch as soon as I get time, next week. FWIW, I can't see any reason this patch would slow things down noticeably in X, though I have not looked at the W32 code. -Adrian