* non-default default face
@ 2005-06-15 19:40 Paul Pogonyshev
2005-06-16 18:46 ` Kevin Rodgers
0 siblings, 1 reply; 4+ messages in thread
From: Paul Pogonyshev @ 2005-06-15 19:40 UTC (permalink / raw)
I currently have default face set to 105 pts high adobe-courier instead
of the default 90 pts adobe-courier. Each time Emacs starts up, it thinks
for a noticable amount of time, presumably creating the fonts. Is there a
way out? Can I preserve the font size and make Emacs start more smoothly?
(I'm on X Window System.)
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: non-default default face
2005-06-15 19:40 non-default default face Paul Pogonyshev
@ 2005-06-16 18:46 ` Kevin Rodgers
2005-06-16 21:30 ` Paul Pogonyshev
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Rodgers @ 2005-06-16 18:46 UTC (permalink / raw)
Paul Pogonyshev wrote:
> I currently have default face set to 105 pts high adobe-courier instead
> of the default 90 pts adobe-courier. Each time Emacs starts up, it
thinks
> for a noticable amount of time, presumably creating the fonts. Is
there a
> way out? Can I preserve the font size and make Emacs start more
smoothly?
> (I'm on X Window System.)
Emacs does not create fonts, which are the preserve of the window
system, but it does create fontsets.
How are you specifying the font of the default face? On X, the simplest
and fastest way is with ~/.Xdefaults, like this:
Emacs*Font: -*-courier-medium-r-*--*-140-*-*-*-*-iso8859-1
(That's for a 14 point font. I assume you meant a 10.5 point font,
which would be 105 in tenths of points.)
--
Kevin Rodgers
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: non-default default face
2005-06-16 18:46 ` Kevin Rodgers
@ 2005-06-16 21:30 ` Paul Pogonyshev
2005-06-16 21:57 ` Paul Pogonyshev
0 siblings, 1 reply; 4+ messages in thread
From: Paul Pogonyshev @ 2005-06-16 21:30 UTC (permalink / raw)
Cc: emacs-devel
Kevin Rodgers wrote:
> Paul Pogonyshev wrote:
> > I currently have default face set to 105 pts high adobe-courier instead
> > of the default 90 pts adobe-courier. Each time Emacs starts up, it thinks
> > for a noticable amount of time, presumably creating the fonts. Is there a
> > way out? Can I preserve the font size and make Emacs start more smoothly?
>
> > (I'm on X Window System.)
>
> Emacs does not create fonts, which are the preserve of the window
> system, but it does create fontsets.
Yes, I put it in wrong words.
> How are you specifying the font of the default face?
M-x customize-face RET default RET and set height to 105
> On X, the simplest and fastest way is with ~/.Xdefaults, like this:
>
> Emacs*Font: -*-courier-medium-r-*--*-140-*-*-*-*-iso8859-1
>
> (That's for a 14 point font. I assume you meant a 10.5 point font,
> which would be 105 in tenths of points.)
Works great. For some reason, font heights in `~/.Xdefaults' and Emacs
don't match. With ...-*-105-*-... I get 11.3 point font (according to
Emacs' information.) With ...-102-... I get the desired 10.5 point font.
Yet more interestingly, with ...-100-... font size drops to 7.5 points
right away!
Somehow the difference is very noticable. 11.3 point font looks like
shit, while 10.5 looks good. Apparently, XFree86 4.2's font renderer or
the font itself (adobe courier) or whatever else is not good...
Thank you for the hint.
Anyway, is there a good reason why customization of `default' face takes
so much time? For instance, it seems to slow Emacs' starting up down
more than two times i.e. changing the ``base'' font seems much slower
setting the initial. It's good one can hack around with X resources,
but it is not obvious to say the least.
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: non-default default face
2005-06-16 21:30 ` Paul Pogonyshev
@ 2005-06-16 21:57 ` Paul Pogonyshev
0 siblings, 0 replies; 4+ messages in thread
From: Paul Pogonyshev @ 2005-06-16 21:57 UTC (permalink / raw)
Cc: emacs-devel
I wrote:
> > On X, the simplest and fastest way is with ~/.Xdefaults, like this:
> >
> > Emacs*Font: -*-courier-medium-r-*--*-140-*-*-*-*-iso8859-1
> >
> > (That's for a 14 point font. I assume you meant a 10.5 point font,
> > which would be 105 in tenths of points.)
>
> Works great.
Actually, it doesn't. After this, tabs become too short and code is
not lined up properly. When the same font is set via customization,
tabs have the proper width. A bug?
Paul
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-06-16 21:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-15 19:40 non-default default face Paul Pogonyshev
2005-06-16 18:46 ` Kevin Rodgers
2005-06-16 21:30 ` Paul Pogonyshev
2005-06-16 21:57 ` Paul Pogonyshev
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).