From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?=D3scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Font backend: Observations on speed on Windows Date: Sun, 08 Jun 2008 17:06:33 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212937620 4766 80.91.229.12 (8 Jun 2008 15:07:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2008 15:07:00 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 08 17:07:42 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 1K5MUe-00052x-Cd for ged-emacs-devel@m.gmane.org; Sun, 08 Jun 2008 17:07:40 +0200 Original-Received: from localhost ([127.0.0.1]:56828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5MTr-00070N-AS for ged-emacs-devel@m.gmane.org; Sun, 08 Jun 2008 11:06:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K5MTm-0006xp-8B for emacs-devel@gnu.org; Sun, 08 Jun 2008 11:06:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K5MTk-0006vf-Cf for emacs-devel@gnu.org; Sun, 08 Jun 2008 11:06:45 -0400 Original-Received: from [199.232.76.173] (port=58221 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K5MTk-0006vL-6o for emacs-devel@gnu.org; Sun, 08 Jun 2008 11:06:44 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:55718 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K5MTk-0006s2-03 for emacs-devel@gnu.org; Sun, 08 Jun 2008 11:06:44 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K5MTg-0000NU-Tt for emacs-devel@gnu.org; Sun, 08 Jun 2008 15:06:40 +0000 Original-Received: from 179.red-83-32-115.dynamicip.rima-tde.net ([83.32.115.179]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2008 15:06:40 +0000 Original-Received: from ofv by 179.red-83-32-115.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2008 15:06:40 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 179.red-83-32-115.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (windows-nt) Cancel-Lock: sha1:X9gyMRQuy1BYmQltAg7cdKJIBDc= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:98693 Archived-At: Today I fired a fresh CVS Emacs and, with great surprise, noticed that the screen is painted with acceptable speed on my old 550 MHz machine. The second odd thing is that the font used was not the one I expected. Emacs was using -raster-MS Sans Serif-normal-normal-normal-sans-16-*-*-*-p-*-iso8859-1 so I changed the default font to -outline-Courier New-normal-normal-normal-mono-16-*-*-*-c-*-iso8859-1 and the slowness manifested again. It is my impression that it is not so bad as some weeks ago, though. Please note that the first font is a raster variable-pitch font, while the second is a true-type fixed-pitch one. After some experimentation, the key seems to be true-type. The raster courier font -raster-Courier-normal-normal-normal-mono-16-*-*-*-c-*-iso8859-1 is fast too. Another odd thing is that the "Set Font/Fontset" dialog only shows fixed-pitch fonts. Hope this helps to locate the place that makes the new font backend so slow (for certain fonts, it seems). -- Oscar