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 23:21:33 +0100

On Thu, Feb 12, 2009 at 10:12 PM, Peter Dyballa <address@hidden> wrote:
>
> Am 12.02.2009 um 19:49 schrieb Geralt:
>
>>>> I can find the inconsolata font using fc-cat or fc-list but I can't
>>>> find it in xfontsel
>>>
>>> So you obviously need to install it on your system!
>>>
>>>
>>
>> But how? I can select it for example in Opera, or in XFCE's settings
>> dialog.
>
> The X11 server needs the files created by (sudo) mkfontscale and (sudo)
> mkfontdir. X11 looks into the directories of font path (xset q). The command
> 'xset fp rehash' updates server font information. Xfontsel or xlsfonts are
> clients of the X11 server-side fonts sub-system.
>
> When you're user of the client-side fonts sub-system (fontconfig) fc-cache,
> which accepts -v, is your friend. This programme follows a setup given by
> configuration files like fonts.conf.
>
Thanks, turns out that I had to add /usr/share/fonts/inconsolata to
xorg.conf with LoadPath, now I can find the font, and I have the
following in my .Xresources:
Emacs.font: -misc-inconsolata-*-*-*-*-*-*-*-*-*-*-iso8859-1

But Emacs is still not using it, list-fontsets is still
Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard



Do I have to do something special inside Emacs? Oh and just to be sure
that's the output of "emacs -Q", so there's no color theme that could
change it.






Geralt.




reply via email to

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