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

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

Re: Setting the global default font size.


From: Geralt
Subject: Re: Setting the global default font size.
Date: Thu, 12 Feb 2009 17:52:42 +0100

On Wed, Feb 11, 2009 at 1:48 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 10.02.2009 um 20:03 schrieb Geralt:
>
>> I've installed the inconsolata font[1] and I want to use it in my Emacs
>> color-theme but I don't know how to add it.
>
>
> Make it known to your X11 fonts sub-system (that's what an "installed"
> should express) and then set either an X resource à la:
>
>        Emacs.Font:
> -*-lucidatypewriter-medium-r-*-*-10-*-*-*-m-*-iso10646-1
>
> (you can additionally use, for example:
>
> Emacs*menu*.font:       -*-utopia-bold-r-*-*-11-*-*-*-*-*-iso10646-1
> Emacs*pane.menubar.font:
>  -*-lucida-bold-r-*-sans-10-*-*-*-*-*-iso10646-1
> Emacs.dialog*.font:     -*-bitstream vera
> serif-bold-r-*-*-10-*-*-*-*-*-iso10646-1)
>
> or you put your default font choice into, for example:
>
>  (setq initial-frame-alist '(
>        (tool-bar-lines         . 0)
>        (menu-bar-lines         . 2)
>        (border-color           . "gold1")
>        (cursor-color           . "turquoise1")
>        (mouse-color            . "purple3")
>        (foreground-color       . "DarkCyan")
>        (background-color       . "antiquewhite1")
>        (vertical-scroll-bars   . right)
>        (internal-border-width  . 5)
>        (top  . 10) (left . 625) (width . 80) (height . 50)
> ;•      (font . "fontset-global")
>        ))
>
> – and there's also default-frame-alist!
>
> --
> Greetings
>
>  Pete
>
> Basic, n.:
>        A programming language. Related to certain social diseases in
>        that those who have it will not admit it in polite company.
>
>
>
Hi,

thanks for the suggestion, but it's not really working. The reason is:
I can find the inconsolata font using fc-cat or fc-list but I can't
find it in xfontsel, so I don't know the string that I should write
into my .Xresources file.
How can I find that one out?



Geralt.




reply via email to

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