From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Javier Newsgroups: gmane.emacs.help Subject: Re: default font used Date: Fri, 13 Jul 2012 04:10:16 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <6b6982ca-49a5-4cc8-b8ae-49c7b1feb434@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1342152917 7540 80.91.229.3 (13 Jul 2012 04:15:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2012 04:15:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 13 06:15:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SpXHf-00029D-R8 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2012 06:15:15 +0200 Original-Received: from localhost ([::1]:37424 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SpXHe-0001zW-T3 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jul 2012 00:15:14 -0400 Original-Path: usenet.stanford.edu!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: I9Jfk9MbvsupUAg1UP5ewQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: tin/2.1.0-20111224 ("Bridgend") (UNIX) (Linux/3.1.0-1-686-pae (i686)) X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:193444 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85828 Archived-At: You can also set the font in the command line in Linux: emacs -fn 10x20 if you define the font in .emacs it will override the command-line option Drew Adams wrote: >> The default font is chosen inside x_default_font_parameter in >> xfns.c.... the first match from the following list is used: >> ... >> "-adobe-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-1", >> "-misc-fixed-medium-r-normal-*-*-140-*-*-c-*-iso8859-1", >> "-*-*-medium-r-normal-*-*-140-*-*-c-*-iso8859-1", >> /* This was formerly the first thing tried, but it finds >> too many fonts and takes too long. */ >> "-*-*-medium-r-*-*-*-*-*-*-c-*-iso8859-1", >> /* If those didn't work, look for something which will >> at least work. */ >> "-*-fixed-*-*-*-*-*-140-*-*-c-*-iso8859-1", >> "fixed", > > Yes, but a user can set the font to use by default. See this: > http://emacswiki.org/emacs/SetFonts > > E.g.: (set-face-attribute 'default nil :font FONT) > > (Alternatively, you can set the `font' parameter in user option > `default-frame-alist'.) > >