From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#6618: Bug was probably introduced by revision 100788 Date: Wed, 14 Jul 2010 13:01:51 +0900 Message-ID: References: <8170-Mon12Jul2010120144+0100-jpff@codemist.co.uk> <201007131239.08209.bernhard.herzog@intevation.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279081826 28005 80.91.229.12 (14 Jul 2010 04:30:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2010 04:30:26 +0000 (UTC) Cc: 6618@debbugs.gnu.org To: Bernhard Herzog Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 14 06:30:24 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OYtbz-0003Y0-GB for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jul 2010 06:30:23 +0200 Original-Received: from localhost ([127.0.0.1]:38938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYtby-0006C6-QC for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Jul 2010 00:30:22 -0400 Original-Received: from [140.186.70.92] (port=40002 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYtbt-0006Ar-MZ for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 00:30:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYtbs-0006if-Gc for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 00:30:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59165) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYtbs-0006ia-E6 for bug-gnu-emacs@gnu.org; Wed, 14 Jul 2010 00:30:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OYtAX-000620-W3; Wed, 14 Jul 2010 00:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Jul 2010 04:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6618 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6618-submit@debbugs.gnu.org id=B6618.127908011123146 (code B ref 6618); Wed, 14 Jul 2010 04:02:01 +0000 Original-Received: (at 6618) by debbugs.gnu.org; 14 Jul 2010 04:01:51 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYtAM-00061E-Ls for submit@debbugs.gnu.org; Wed, 14 Jul 2010 00:01:50 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYtAK-00060i-7J for 6618@debbugs.gnu.org; Wed, 14 Jul 2010 00:01:49 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id o6E41q3q011107; Wed, 14 Jul 2010 13:01:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id o6E41q8a006323; Wed, 14 Jul 2010 13:01:52 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id o6E41p1x023702; Wed, 14 Jul 2010 13:01:51 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1OYtAN-0006VC-Qr; Wed, 14 Jul 2010 13:01:51 +0900 In-Reply-To: <201007131239.08209.bernhard.herzog@intevation.de> (message from Bernhard Herzog on Tue, 13 Jul 2010 12:39:08 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 14 Jul 2010 00:02:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38503 Archived-At: In article <201007131239.08209.bernhard.herzog@intevation.de>, Bernhard Herzog writes: > I'm running into the same problem and I've debugged it a little. AFAICT the > problem was introduced with revision 100788. The revision immediately before > that works fine, but I can observer the problem with revision 100788. The > ChangeLog entry for this is > 2010-07-12 Kenichi Handa > * font.h (enum font_property_index): New member FONT_ENTITY_INDEX. > * font.c (font_open_entity): Record ENTITY in FONT_OBJECT's slot > of FONT_ENTITY_INDEX. > (Ffont_get): If KEY is :otf and the font-object doesn't have the > property, get the property value dynamically. > (Ffont_put): Accept font-entity and font-object too. > (Ffont_get_glyhphs): Renamed from Fget_font_glyphs. Arguments and > return value changed. > (syms_of_font): Adjusted for the above change. > It's most likely the first change in font.c: "Record ENTITY in FONT_OBJECT's > slot of FONT_ENTITY_INDEX.": Thank you for finding that problem. The reason of recording ENTITY in FONT-OBJECT is that we can get :otf property only from FONT-OBJECT, but the property should be common to all font-ojbects realized from the same ENTITY. So, I wanted a way to get ENTITY from FONT-OBJECT. I've just committed a change to cancel that recording. As a result, we should re-caliculate :otf property of a font whose sibling (i.e. a font-object realized from the same entity but with different size) already know it. But, perhaps, that doesn't influence the redisplay speed that match. --- Kenichi Handa handa@m17n.org