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: Sat, 14 Feb 2009 15:47:28 +0100

On Sat, Feb 14, 2009 at 3:24 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 14.02.2009 um 11:28 schrieb Geralt:
>
>> On Fri, Feb 13, 2009 at 11:46 PM, Peter Dyballa wrote:
>>>
>>> Am 13.02.2009 um 23:03 schrieb Geralt:
>>>
>>>> I tried now inside Emacs "(modify-all-frames-parameters '((font .
>>>> "-misc-inconsolata-*-*-*-*-*-*-*-*-*-*-iso8859-1")))", but when
>>>> evaluating this line I get the following error "Debugger entered--Lisp
>>>> error: (error "Font `-misc-inconsolata-*-*-*-*-*-*-*-*-*-*-iso8859-1'
>>>> is not defined")", so I guess there's still something I'm missing?
>>>
>>>
>>> M-x set-frame-font TAB TAB produces a large *Completions* buffer with
>>> fonts
>>> GNU Emacs "sees." It's also possible to evaluate
>>>
>>>       (x-list-fonts "*-inconsolata-*")
>>>
>>> in *scratch* buffer. I found a line
>>>
>>>       (font . "-adobe-courier-medium-r-*-11-*-iso10646-1")
>>>
>>> – and it still works!
>>>
>> Ok, I can find the font in the completion of set-frame-font and
>> x-list-fonts, but setting one of the inconsolata fonts with
>> set-frame-font results in "byte-code: Font
>> `-misc-inconsolata-medium-r-normal--0-0-0-0-p-0-iso10646-1' is not
>> defined" (displayed in the echo area/ *Messages* buffer), the same
>> happens with 8859-1 encoding.
>>
>
> Three possible options:
>
>  • RTFM
>
Which manual then? I don't even know if it's an X related problem or
an Emacs related problem.

>  • change syntax
>
In which way? I've used the function you told me about and used the
completion Emacs suggested to me
>  • use different font
>
I am not sure that this would help, because if I install another font
I'm likely to run into the very same issue again (and I know that
others are using this font, at least with 23).

> The fourth option would be to think of the possible use of
> proportional-spaced font of size 0.
>
Do you have a specific one in mind? I couldn't find a way to select a
generic one in xfontsel.



And thanks for your effort and time :-)


Geralt.




reply via email to

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