* Setting the global default font size.
@ 2009-02-05 15:28 Tim Visher
2009-02-05 21:16 ` Joe Schafer
2009-02-10 12:45 ` Nurullah Akkaya
0 siblings, 2 replies; 24+ messages in thread
From: Tim Visher @ 2009-02-05 15:28 UTC (permalink / raw)
To: Emacs Help List
Hello Everyone,
I'm interested in setting the global font size but I'm not sure how to
do that. I tried messing around in Easy Customization in the Faces
section but that screwed up my default frame sizing for some reason.
Any thoughts? Also, I'm really interested in using Clear Type fonts.
Can you do this in Emacs?
--
In Christ,
Timmy V.
http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-05 15:28 Setting the global default font size Tim Visher
@ 2009-02-05 21:16 ` Joe Schafer
2009-02-10 12:45 ` Nurullah Akkaya
1 sibling, 0 replies; 24+ messages in thread
From: Joe Schafer @ 2009-02-05 21:16 UTC (permalink / raw)
To: help-gnu-emacs
Tim Visher <tim.visher@gmail.com> writes:
> Hello Everyone,
>
> I'm interested in setting the global font size but I'm not sure how to
> do that. I tried messing around in Easy Customization in the Faces
> section but that screwed up my default frame sizing for some reason.
>
> Any thoughts? Also, I'm really interested in using Clear Type fonts.
> Can you do this in Emacs?
Here's what I have in my init file. This sets it for all frames.
(modify-all-frames-parameters
'((font . "-microsoft-consolas-medium-r-*-*-*-110-*-*-*-*-iso8859-1")))
Though for emacs23 you can write it as:
(modify-all-frames-parameters
'((font . "Consolas-11")))
I know emacs 23 supports font antialiasing and I think emacs on windows
uses clear type.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-05 15:28 Setting the global default font size Tim Visher
2009-02-05 21:16 ` Joe Schafer
@ 2009-02-10 12:45 ` Nurullah Akkaya
2009-02-10 19:03 ` Geralt
1 sibling, 1 reply; 24+ messages in thread
From: Nurullah Akkaya @ 2009-02-10 12:45 UTC (permalink / raw)
To: Tim Visher; +Cc: Emacs Help List
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
On Thu, Feb 5, 2009 at 5:28 PM, Tim Visher <tim.visher@gmail.com> wrote:
> Hello Everyone,
>
> I'm interested in setting the global font size but I'm not sure how to
> do that. I tried messing around in Easy Customization in the Faces
> section but that screwed up my default frame sizing for some reason.
>
> Any thoughts? Also, I'm really interested in using Clear Type fonts.
> Can you do this in Emacs?
>
> --
>
> In Christ,
>
> Timmy V.
>
> http://burningones.com/
> http://five.sentenc.es/ - Spend less time on e-mail
>
>
this what i have in my init file,
(set-face-attribute 'default (selected-frame) :height 150 :width 'normal)
bigger height bigger font.
[-- Attachment #2: Type: text/html, Size: 1194 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-10 12:45 ` Nurullah Akkaya
@ 2009-02-10 19:03 ` Geralt
2009-02-10 22:53 ` Nurullah Akkaya
` (2 more replies)
0 siblings, 3 replies; 24+ messages in thread
From: Geralt @ 2009-02-10 19:03 UTC (permalink / raw)
To: Emacs Help List
A bit off-topic, but I think it fits still into this thread: 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. Can you help me? I'm using
Emacs 22.
Thanks.
Geralt
[1]http://www.levien.com/type/myfonts/inconsolata.html
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-10 19:03 ` Geralt
@ 2009-02-10 22:53 ` Nurullah Akkaya
2009-02-11 0:20 ` Geralt
2009-02-11 4:06 ` Manish Sharma
2009-02-11 12:48 ` Peter Dyballa
2 siblings, 1 reply; 24+ messages in thread
From: Nurullah Akkaya @ 2009-02-10 22:53 UTC (permalink / raw)
Cc: Emacs Help List
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
On Tue, Feb 10, 2009 at 9:03 PM, Geralt <usr.gentoo@googlemail.com> wrote:
> A bit off-topic, but I think it fits still into this thread: 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. Can you help me? I'm using
> Emacs 22.
>
>
>
> Thanks.
>
>
> Geralt
>
>
>
> [1]http://www.levien.com/type/myfonts/inconsolata.html
>
>
>
for monaco font i use,
(set-default-font "monaco")
on emacs 23 gtk.
[-- Attachment #2: Type: text/html, Size: 914 bytes --]
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-10 22:53 ` Nurullah Akkaya
@ 2009-02-11 0:20 ` Geralt
0 siblings, 0 replies; 24+ messages in thread
From: Geralt @ 2009-02-11 0:20 UTC (permalink / raw)
To: Nurullah Akkaya; +Cc: Emacs Help List
On Tue, Feb 10, 2009 at 11:53 PM, Nurullah Akkaya
<nurullah.akkaya@blooby.com> wrote:
>
>
> On Tue, Feb 10, 2009 at 9:03 PM, Geralt <usr.gentoo@googlemail.com> wrote:
>>
>> A bit off-topic, but I think it fits still into this thread: 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. Can you help me? I'm using
>> Emacs 22.
>>
>>
>>
>> Thanks.
>>
>>
>> Geralt
>>
>>
>>
>> [1]http://www.levien.com/type/myfonts/inconsolata.html
>>
>>
>
> for monaco font i use,
> (set-default-font "monaco")
>
> on emacs 23 gtk.
>
Thanks, but it looks like I can't use that one with 22 :(
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-10 19:03 ` Geralt
2009-02-10 22:53 ` Nurullah Akkaya
@ 2009-02-11 4:06 ` Manish Sharma
2009-02-11 10:09 ` Geralt
2009-02-11 12:48 ` Peter Dyballa
2 siblings, 1 reply; 24+ messages in thread
From: Manish Sharma @ 2009-02-11 4:06 UTC (permalink / raw)
To: help-gnu-emacs
Geralt <usr.gentoo@googlemail.com> writes:
> A bit off-topic, but I think it fits still into this thread: 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. Can you help me? I'm using
> Emacs 22.
What OS?
--
Manish
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-11 4:06 ` Manish Sharma
@ 2009-02-11 10:09 ` Geralt
0 siblings, 0 replies; 24+ messages in thread
From: Geralt @ 2009-02-11 10:09 UTC (permalink / raw)
To: Manish Sharma; +Cc: help-gnu-emacs
On Wed, Feb 11, 2009 at 5:06 AM, Manish Sharma
<mailtomanish.sharma@gmail.com> wrote:
> Geralt <usr.gentoo@googlemail.com> writes:
>
>> A bit off-topic, but I think it fits still into this thread: 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. Can you help me? I'm using
>> Emacs 22.
>
> What OS?
>
> --
> Manish
>
>
>
>
I'm using Linux (Gentoo).
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-10 19:03 ` Geralt
2009-02-10 22:53 ` Nurullah Akkaya
2009-02-11 4:06 ` Manish Sharma
@ 2009-02-11 12:48 ` Peter Dyballa
2009-02-12 16:52 ` Geralt
2 siblings, 1 reply; 24+ messages in thread
From: Peter Dyballa @ 2009-02-11 12:48 UTC (permalink / raw)
To: Geralt; +Cc: Emacs Help List
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.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-11 12:48 ` Peter Dyballa
@ 2009-02-12 16:52 ` Geralt
2009-02-12 18:38 ` Peter Dyballa
0 siblings, 1 reply; 24+ messages in thread
From: Geralt @ 2009-02-12 16:52 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Emacs Help List
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.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-12 16:52 ` Geralt
@ 2009-02-12 18:38 ` Peter Dyballa
2009-02-12 18:49 ` Geralt
0 siblings, 1 reply; 24+ messages in thread
From: Peter Dyballa @ 2009-02-12 18:38 UTC (permalink / raw)
To: Geralt; +Cc: Emacs Help List
Am 12.02.2009 um 17:52 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!
--
Greetings
Pete
Bake pizza not war!
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-12 18:38 ` Peter Dyballa
@ 2009-02-12 18:49 ` Geralt
2009-02-12 21:12 ` Peter Dyballa
0 siblings, 1 reply; 24+ messages in thread
From: Geralt @ 2009-02-12 18:49 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Emacs Help List
On Thu, Feb 12, 2009 at 7:38 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 12.02.2009 um 17:52 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.
Geralt.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-12 18:49 ` Geralt
@ 2009-02-12 21:12 ` Peter Dyballa
2009-02-12 22:21 ` Geralt
0 siblings, 1 reply; 24+ messages in thread
From: Peter Dyballa @ 2009-02-12 21:12 UTC (permalink / raw)
To: Geralt; +Cc: Emacs Help List
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.
--
Greetings
Pete
If all else fails read the instructions.
- Donald Knuth
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-12 21:12 ` Peter Dyballa
@ 2009-02-12 22:21 ` Geralt
2009-02-12 23:19 ` Peter Dyballa
0 siblings, 1 reply; 24+ messages in thread
From: Geralt @ 2009-02-12 22:21 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Emacs Help List
On Thu, Feb 12, 2009 at 10:12 PM, Peter Dyballa <Peter_Dyballa@web.de> 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.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-12 22:21 ` Geralt
@ 2009-02-12 23:19 ` Peter Dyballa
2009-02-13 21:20 ` Geralt
0 siblings, 1 reply; 24+ messages in thread
From: Peter Dyballa @ 2009-02-12 23:19 UTC (permalink / raw)
To: Geralt; +Cc: Emacs Help List
Am 12.02.2009 um 23:21 schrieb Geralt:
> I have the
> following in my .Xresources:
> Emacs.font: -misc-inconsolata-*-*-*-*-*-*-*-*-*-*-iso8859-1
You can put what you want into .Xresources – no X client ever reads
this file. Except one: xrdb. And it has the choice between
~/.Xresources and ~/.Xdefaults, by default. If xrdb's data base was
not updated, then GNU Emacs does not see any changes in the selected
base file.
--
Greetings
Pete
Atheism is a non prophet organization.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-12 23:19 ` Peter Dyballa
@ 2009-02-13 21:20 ` Geralt
2009-02-13 21:53 ` Peter Dyballa
0 siblings, 1 reply; 24+ messages in thread
From: Geralt @ 2009-02-13 21:20 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Emacs Help List
On Fri, Feb 13, 2009 at 12:19 AM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 12.02.2009 um 23:21 schrieb Geralt:
>
>> I have the
>> following in my .Xresources:
>> Emacs.font: -misc-inconsolata-*-*-*-*-*-*-*-*-*-*-iso8859-1
>
> You can put what you want into .Xresources – no X client ever reads this
> file. Except one: xrdb. And it has the choice between ~/.Xresources and
> ~/.Xdefaults, by default. If xrdb's data base was not updated, then GNU
> Emacs does not see any changes in the selected base file.
>
The only effect this has is that list-fontsets is now one line longer:
Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-startup
But no inconsolata there :(
Geralt.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-13 21:20 ` Geralt
@ 2009-02-13 21:53 ` Peter Dyballa
2009-02-13 22:03 ` Geralt
0 siblings, 1 reply; 24+ messages in thread
From: Peter Dyballa @ 2009-02-13 21:53 UTC (permalink / raw)
To: Geralt; +Cc: Emacs Help List
Am 13.02.2009 um 22:20 schrieb Geralt:
>>> I have the
>>> following in my .Xresources:
>>> Emacs.font: -misc-inconsolata-*-*-*-*-*-*-*-*-*-*-iso8859-1
>>
>> You can put what you want into .Xresources – no X client ever
>> reads this
>> file. Except one: xrdb. And it has the choice between
>> ~/.Xresources and
>> ~/.Xdefaults, by default. If xrdb's data base was not updated,
>> then GNU
>> Emacs does not see any changes in the selected base file.
>>
> The only effect this has is that list-fontsets is now one line longer:
> Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
> Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
> Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-startup
>
> But no inconsolata there :(
Is it somewhere documented that from setting a font X resource for
GNU Emacs you get a fontset?
--
Greetings
Pete
Government is actually the worst failure of civilized man. There has
never been a really good one, and even those that are most tolerable
are arbitrary, cruel, grasping and unintelligent.
– H. L. Mencken
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-13 21:53 ` Peter Dyballa
@ 2009-02-13 22:03 ` Geralt
2009-02-13 22:46 ` Peter Dyballa
0 siblings, 1 reply; 24+ messages in thread
From: Geralt @ 2009-02-13 22:03 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Emacs Help List
On Fri, Feb 13, 2009 at 10:53 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 13.02.2009 um 22:20 schrieb Geralt:
>
>>>> I have the
>>>> following in my .Xresources:
>>>> Emacs.font: -misc-inconsolata-*-*-*-*-*-*-*-*-*-*-iso8859-1
>>>
>>> You can put what you want into .Xresources – no X client ever reads this
>>> file. Except one: xrdb. And it has the choice between ~/.Xresources and
>>> ~/.Xdefaults, by default. If xrdb's data base was not updated, then GNU
>>> Emacs does not see any changes in the selected base file.
>>>
>> The only effect this has is that list-fontsets is now one line longer:
>> Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-default
>> Fontset: -*-fixed-medium-r-normal-*-16-*-*-*-*-*-fontset-standard
>> Fontset: -*-*-*-*-*-*-*-*-*-*-*-*-fontset-startup
>>
>> But no inconsolata there :(
>
>
> Is it somewhere documented that from setting a font X resource for GNU Emacs
> you get a fontset?
>
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?
Geralt.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-13 22:03 ` Geralt
@ 2009-02-13 22:46 ` Peter Dyballa
2009-02-14 10:28 ` Geralt
0 siblings, 1 reply; 24+ messages in thread
From: Peter Dyballa @ 2009-02-13 22:46 UTC (permalink / raw)
To: Geralt; +Cc: Emacs Help List
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!
--
Greetings
Pete
"What do you think of Western Civilisation?"
"I think it would be a good idea!"
– Mohandas Karamchand Gandhi
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-13 22:46 ` Peter Dyballa
@ 2009-02-14 10:28 ` Geralt
2009-02-14 14:24 ` Peter Dyballa
0 siblings, 1 reply; 24+ messages in thread
From: Geralt @ 2009-02-14 10:28 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Emacs Help List
On Fri, Feb 13, 2009 at 11:46 PM, Peter Dyballa <Peter_Dyballa@web.de> 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.
Geralt.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-14 10:28 ` Geralt
@ 2009-02-14 14:24 ` Peter Dyballa
2009-02-14 14:47 ` Geralt
0 siblings, 1 reply; 24+ messages in thread
From: Peter Dyballa @ 2009-02-14 14:24 UTC (permalink / raw)
To: Geralt; +Cc: Emacs Help List
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
• change syntax
• use different font
The fourth option would be to think of the possible use of
proportional-spaced font of size 0.
--
Greetings
Pete <]
o __o |__ o HPV, the real
___o /I -\<, |o \ -\),-% high speed!
___/\ /\___./ \___...O/ O____.....`-O-'-()--o_________________
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-14 14:24 ` Peter Dyballa
@ 2009-02-14 14:47 ` Geralt
2009-02-14 18:51 ` Peter Dyballa
0 siblings, 1 reply; 24+ messages in thread
From: Geralt @ 2009-02-14 14:47 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Emacs Help List
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.
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-14 14:47 ` Geralt
@ 2009-02-14 18:51 ` Peter Dyballa
2009-02-17 16:19 ` Geralt
0 siblings, 1 reply; 24+ messages in thread
From: Peter Dyballa @ 2009-02-14 18:51 UTC (permalink / raw)
To: Geralt; +Cc: Emacs Help List
Am 14.02.2009 um 15:47 schrieb Geralt:
>> Three possible options:
>>
>> • RTFM
>>
> Which manual then?
It's obviously a problem that GNU Emacs has with the given font name,
which does not seem to have a relation to an existing one. So what
you give to GNU Emacs some correction.
>
>> • change syntax
>>
> In which way? I've used the function you told me about and used the
> completion Emacs suggested to me
Did you read my example with Adobe Courier?
--
Greetings
Pete
These are my principles and if you don't like them... well, I have
others.
- Groucho Marx
^ permalink raw reply [flat|nested] 24+ messages in thread
* Re: Setting the global default font size.
2009-02-14 18:51 ` Peter Dyballa
@ 2009-02-17 16:19 ` Geralt
0 siblings, 0 replies; 24+ messages in thread
From: Geralt @ 2009-02-17 16:19 UTC (permalink / raw)
To: Emacs Help List
Hi,
today I discovered by chance this link[1], in which stands at the top
"Font anti-aliasing using the Xft library and FreeType fonts is
currently only available for the app-editors/emacs-cvs-23.0.9999
ebuild.", considering that statement it makes sense that I can see the
Inconsolata font, but I can't set it in Emacs.
Geralt.
[1]http://www.gentoo.org/proj/en/lisp/emacs/xft.xml
^ permalink raw reply [flat|nested] 24+ messages in thread
end of thread, other threads:[~2009-02-17 16:19 UTC | newest]
Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-05 15:28 Setting the global default font size Tim Visher
2009-02-05 21:16 ` Joe Schafer
2009-02-10 12:45 ` Nurullah Akkaya
2009-02-10 19:03 ` Geralt
2009-02-10 22:53 ` Nurullah Akkaya
2009-02-11 0:20 ` Geralt
2009-02-11 4:06 ` Manish Sharma
2009-02-11 10:09 ` Geralt
2009-02-11 12:48 ` Peter Dyballa
2009-02-12 16:52 ` Geralt
2009-02-12 18:38 ` Peter Dyballa
2009-02-12 18:49 ` Geralt
2009-02-12 21:12 ` Peter Dyballa
2009-02-12 22:21 ` Geralt
2009-02-12 23:19 ` Peter Dyballa
2009-02-13 21:20 ` Geralt
2009-02-13 21:53 ` Peter Dyballa
2009-02-13 22:03 ` Geralt
2009-02-13 22:46 ` Peter Dyballa
2009-02-14 10:28 ` Geralt
2009-02-14 14:24 ` Peter Dyballa
2009-02-14 14:47 ` Geralt
2009-02-14 18:51 ` Peter Dyballa
2009-02-17 16:19 ` Geralt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).