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 20:05:27 -0400 Message-ID: <55f7df060709141705s27e268f5s2b14641b8c92ab36@mail.gmail.com> References: <55f7df060709130853q25979167p465e8e7591000ca2@mail.gmail.com> <55f7df060709140652x54b42e4ax414969f07ad6ac21@mail.gmail.com> <20070914.235549.06787331.mituharu@math.s.chiba-u.ac.jp> 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 1189814754 8011 80.91.229.12 (15 Sep 2007 00:05:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2007 00:05:54 +0000 (UTC) Cc: jasonr@gnu.org, emacs-devel@gnu.org, handa@m17n.org To: "YAMAMOTO Mitsuharu" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 15 02:05:50 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 1IWLAD-00038T-Sn for ged-emacs-devel@m.gmane.org; Sat, 15 Sep 2007 02:05:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWLAD-0006Bl-55 for ged-emacs-devel@m.gmane.org; Fri, 14 Sep 2007 20:05:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IWLAA-0006AB-Fd for emacs-devel@gnu.org; Fri, 14 Sep 2007 20:05:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IWLA8-00067s-UE for emacs-devel@gnu.org; Fri, 14 Sep 2007 20:05:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IWLA8-00067h-Q4 for emacs-devel@gnu.org; Fri, 14 Sep 2007 20:05:28 -0400 Original-Received: from rv-out-0910.google.com ([209.85.198.191]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IWLA8-0003sr-7C for emacs-devel@gnu.org; Fri, 14 Sep 2007 20:05:28 -0400 Original-Received: by rv-out-0910.google.com with SMTP id c27so799613rvf for ; Fri, 14 Sep 2007 17:05:27 -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=+PAinbzYIc73HubZ0A9cOeMbkD182WfELyYLnl6ib6M=; b=JTu11gwxpdfDuclb6evCNDeIQIWSpP0Yt2KSVXmbRx06jUanJTwBu4N2zd+BOQn6iPF1m/4DQkhKraqYm5o2qxCcyprDkKXzXtQROQBgOO5dc7uneKeBUS2Pp6VTOSdOyMvlwLVKvhK4KHNOwXmmpncror0LvJf3NUGKWEFnSos= 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=UD8rsJ4d/lEiAzPtwmDr3XB+gbo6Im6SSLGzrm6bOEAzJee4G330jtmudZjjJPrUzFUa4BGzqQW8OYp9IH10UkCeBk4fFiqtqicwau2BL26W/Ha/QWNrhajyJDXyDZa6wJCd4yekpBB1THDKBcuBC3fKTAGI9aWd5hRFftdGa64= Original-Received: by 10.141.115.6 with SMTP id s6mr77609rvm.1189814727270; Fri, 14 Sep 2007 17:05:27 -0700 (PDT) Original-Received: by 10.141.164.19 with HTTP; Fri, 14 Sep 2007 17:05:27 -0700 (PDT) In-Reply-To: <20070914.235549.06787331.mituharu@math.s.chiba-u.ac.jp> 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:78924 Archived-At: On 9/14/07, YAMAMOTO Mitsuharu wrote: > >>>>> On Fri, 14 Sep 2007 09:52:23 -0400, "Adrian Robert" said: > > >> As far as I know, the bug is in expose_window (xdisp.c) and what > >> called from there. > > I added the multiple clip rectangles code in order for ATSUI support > on the Carbon port to work properly, and the OVERLAPS_BOTH case was > also necessary even for simple cursor movement, IIRC. OK, well I added the multi-clip code and it made zero difference to the only problem I've seen (Tibetan script.. I'll need to investigate that specifically). Possibly it fixes something else I'm not seeing. No effect on performance. > Even with backing store, calls to drawRect:, which corresponds to the > handler for expose events, occur when dragging the resize handle or > just before the animation for deiconifying. I can observe whiteout > during such operations on the Cocoa port, but not on the Carbon+AppKit > port where the method is implemented as follows: Thanks, I used this and it fixed the deiconify case as you said. Blank resize is due to NSApp going into a modal loop on resize drag, so emacs redisplay isn't called until finished. How did you work around this in Carbon+AppKit? -Adrian