From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: The WHY of Xft Date: Mon, 21 Mar 2005 07:30:55 +0900 Message-ID: References: Reply-To: snogglethorpe@gmail.com, miles@gnu.org NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111357851 14495 80.91.229.2 (20 Mar 2005 22:30:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2005 22:30:51 +0000 (UTC) Cc: emacs-devel@gnu.org, miles@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 20 23:30:50 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DD8wY-0005pt-2Q for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2005 23:30:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DD9DW-0003iN-AT for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2005 17:48:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DD9Cx-0003Uv-Ks for emacs-devel@gnu.org; Sun, 20 Mar 2005 17:47:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DD9Ct-0003Si-CC for emacs-devel@gnu.org; Sun, 20 Mar 2005 17:47:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DD9Ct-0003S9-2W for emacs-devel@gnu.org; Sun, 20 Mar 2005 17:47:39 -0500 Original-Received: from [64.233.184.202] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DD8wh-0003FC-Di for emacs-devel@gnu.org; Sun, 20 Mar 2005 17:30:55 -0500 Original-Received: by wproxy.gmail.com with SMTP id 40so263526wri for ; Sun, 20 Mar 2005 14:30:55 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=bi528wwGUbRlaxcYIhFzbJ2NGbBFWr1s+hC/nPGHLimw6HBF2nm4Z5rCXXy6rIZc7PHmP/MnG7gaGxfSXrPWGfh41NnbJQyDcMt+giygqVWs78CojZNuIY304pxXPlexN4s6vze0Cg/hgueOow9JjcKpzVZBPR4i0JWSFCFe3aA= Original-Received: by 10.54.59.19 with SMTP id h19mr419602wra; Sun, 20 Mar 2005 14:30:55 -0800 (PST) Original-Received: by 10.54.19.70 with HTTP; Sun, 20 Mar 2005 14:30:55 -0800 (PST) Original-To: James Cloos In-Reply-To: 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 X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34858 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34858 On Sun, 20 Mar 2005 11:49:50 -0500, James Cloos wrote: > My understanding is that when a (server-side) font is opened by the > X server it must determine all of the glyphs' metrics, which requires > rendering all of them. I think this is not true -- it seems to be exactly this behavior which -deferglyphs stops. Without -deferglyphs, there was indeed a noticeable freeze when using a CJK font for the first time; I've not encountered this freeze since. Debian has had -deferglyphs as the default for quite a long time (e.g. if you use gdm, in /etc/X11/gdm/gdm.conf); perhaps other distros do not. Can xft still use bitmap fonts? In the case of CJK, the commonly available X bitmap fonts do seem to be generally more attractive at typical text-editor size than what freetype produces for commonly[*] available scaled fonts. [*] By commonly available, I really mean "free and packaged in Debian" ... Not the best definition I suppose, but maybe indicative of what a typical lazy user like me sees... I'm all for xft BTW; don't let my sniping give you the opposite impression... :-) -Miles -- Do not taunt Happy Fun Ball.