help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default font used


From: Javier
Subject: Re: default font used
Date: Fri, 13 Jul 2012 04:10:16 +0000 (UTC)
User-agent: tin/2.1.0-20111224 ("Bridgend") (UNIX) (Linux/3.1.0-1-686-pae (i686))

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 <drew.adams@oracle.com> 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'.)
> 
> 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]