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: GTK font selector Date: Tue, 10 Jun 2008 17:30:05 -0400 Message-ID: <87r6b5yo4i.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 1213133691 6133 80.91.229.12 (10 Jun 2008 21:34:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2008 21:34:51 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 10 23:35:34 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 1K6BV4-00065l-99 for ged-emacs-devel@m.gmane.org; Tue, 10 Jun 2008 23:35:30 +0200 Original-Received: from localhost ([127.0.0.1]:37345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6BUG-0005At-OZ for ged-emacs-devel@m.gmane.org; Tue, 10 Jun 2008 17:34:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6BUB-0005Al-Vt for emacs-devel@gnu.org; Tue, 10 Jun 2008 17:34:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6BU9-0005AU-Gg for emacs-devel@gnu.org; Tue, 10 Jun 2008 17:34:34 -0400 Original-Received: from [199.232.76.173] (port=50448 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6BU9-0005AR-Aa for emacs-devel@gnu.org; Tue, 10 Jun 2008 17:34:33 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:33831) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K6BU9-0004Lg-5o for emacs-devel@gnu.org; Tue, 10 Jun 2008 17:34:33 -0400 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id B9C694E900; Tue, 10 Jun 2008 17:30:05 -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:98899 Archived-At: I've installed a couple of font-related changes to CVS. The font parser will now attempt to understand GTK-style font names. It tries to guess whether a font name is in the GTK format ("Monospace Bold 9") or the Fontconfig format ("Monospace-9:bold"). I *think* it shouldn't be possible to confuse the parser for any real-world font names, but it would be good if people could test this. Also, now that Emacs can understand GTK font names, I've changed the Options->Save Options menu entry so that, when running under GTK with fontconfig support, it pops up a GTK font selector instead of Emacs' usual font menu. The selected font is applied to the `default' face on all frames, via Customize. Please let me know if there are any problems.