From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Assertion failes in w32uniscribe.c Date: Sun, 06 Apr 2008 02:14:37 +0100 Message-ID: <47F823FD.6050908@gnu.org> References: <47F4F272.8050204@gnu.org> <47F5E34B.9040207@gnu.org> <47F602F6.2050309@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207444505 26044 80.91.229.12 (6 Apr 2008 01:15:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Apr 2008 01:15:05 +0000 (UTC) Cc: Emacs Devel To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 06 03:15:37 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 1JiJTs-0003MA-OF for ged-emacs-devel@m.gmane.org; Sun, 06 Apr 2008 03:15:37 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiJTF-0000Ic-NY for ged-emacs-devel@m.gmane.org; Sat, 05 Apr 2008 21:14:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JiJTC-0000GR-20 for emacs-devel@gnu.org; Sat, 05 Apr 2008 21:14:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JiJTB-0000G6-Hu for emacs-devel@gnu.org; Sat, 05 Apr 2008 21:14:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JiJTB-0000Ft-Cl for emacs-devel@gnu.org; Sat, 05 Apr 2008 21:14:53 -0400 Original-Received: from mk-outboundfilter-3.mail.uk.tiscali.com ([212.74.114.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JiJTB-0001iA-0w for emacs-devel@gnu.org; Sat, 05 Apr 2008 21:14:53 -0400 Original-X-Trace: 88088026/mk-outboundfilter-1.mail.uk.tiscali.com/F2S/$ACCEPTED/freedom2Surf-customers/83.67.23.108 X-SBRS: None X-RemoteIP: 83.67.23.108 X-IP-MAIL-FROM: jasonr@gnu.org X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAEAHrA90dTQxds/2dsb2JhbACBXKgv X-IP-Direction: IN Original-Received: from i-83-67-23-108.freedom2surf.net (HELO wanchan.jasonrumney.net) ([83.67.23.108]) by smtp.f2s.tiscali.co.uk with ESMTP; 06 Apr 2008 02:14:52 +0100 Original-Received: from [192.168.249.27] (chiko.jasonrumney.net [192.168.249.27]) by wanchan.jasonrumney.net (Postfix) with ESMTP id A907C66; Sun, 6 Apr 2008 02:14:55 +0100 (BST) User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) In-Reply-To: X-Enigmail-Version: 0.95.6 OpenPGP: id=8086879D X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:94461 Archived-At: Juanma Barranquero wrote: > It is still slow, though. From "emacs -Q -f view-hello-file" to > actually see etc/HELLO, about 8-10 seconds, or three times slower than > the same operation using --disable-font-backend. > I see a 5 second vs 3 second delay, but it'll depend on how many and which fonts you have installed. I don't think a performance hit can be avoided, as font enumeration is slow on Windows anyway, and we are searching for fonts in far more detail than before, especially for complex South and South East Asian scripts. Once a font is found, it is cached, so the slowdown only occurs the first time you encounter a character that needs an as yet unknown font.