From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Font loading slowdown Date: Tue, 03 Jun 2008 11:41:54 -0400 Message-ID: <87mym234ql.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212507989 24323 80.91.229.12 (3 Jun 2008 15:46:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2008 15:46:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 03 17:47:11 2008 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 1K3Yj8-0002qC-6H for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2008 17:47:10 +0200 Original-Received: from localhost ([127.0.0.1]:59729 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3YiL-0000Gm-SL for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2008 11:46:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3YiG-0000Dg-Uu for emacs-devel@gnu.org; Tue, 03 Jun 2008 11:46:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3YiF-0000AM-9Y for emacs-devel@gnu.org; Tue, 03 Jun 2008 11:46:16 -0400 Original-Received: from [199.232.76.173] (port=43901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3YiE-00009y-Vj for emacs-devel@gnu.org; Tue, 03 Jun 2008 11:46:15 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:39518) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3YiF-00053E-Hl for emacs-devel@gnu.org; Tue, 03 Jun 2008 11:46:15 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 7B5D24E4C8; Tue, 3 Jun 2008 11:41:54 -0400 (EDT) X-detected-kernel: by monty-python.gnu.org: 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:98303 Archived-At: Hi Handa-san, After your latest checkin, I'm experiencing a considerable slowdown in font loading. After `emacs -q' creates a frame, it takes up to four seconds to display the startup screen. Using a reverted copy, it's nearly instantaneous. `emacs -Q' doesn't cause that slowdown, so I think it's due to the variable-pitch faces used in the startup screen. (By the way, that variable-pitch face isn't anti-aliased, either before or after your checkin, unlike the rest of the faces in Emacs. So maybe there is a font matching problem here?) 2008-06-03 Kenichi Handa * font.c (font_prop_validate_spacing): Handle uppercase symbols. (font_parse_fcname): Fix handling of unknown key. * xfont.c (xfont_list): Try an alias. * charset.c (char_charset): Return NULL if the arg charset_list is specified and C doesn't belong to any of them. Could you double-check your work? For the record, I'm using 23.0.60.10 (i686-pc-linux-gnu, GTK+ Version 2.12.9), with the following Xresources: Xft.dpi: 96 Xft.hinting: false Xft.hintstyle: none Emacs.background: Black Emacs.foreground: Wheat Emacs*pointerColor: White Emacs.cursorColor: Thistle Emacs.geometry:=86x50+100+100 Emacs.Font: Mono-10 Emacs.useXIM: on Thanks!