[Top][All Lists]

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

[h-e-w] Strange font/frame-height interaction

From: David Vanderschel
Subject: [h-e-w] Strange font/frame-height interaction
Date: Wed, 4 Aug 2010 22:24:33 -0500

I just installed EmacsW32 on a 64-bit Windows 7 system.  I
ran into a strangeness that I do not understand.  There may
be a bug.

I selected Lucida Console as my default font, and I set the
size at 11.  With that size, the frame was so large (in
height) on startup that the bottom lines were off the
screen.  At size 9, it fit.  I thought it lame of emacs to
create an initial frame with too many lines to fit on the
screen.  (If you go full screen, it always chooses an
appropriate height.)  I decided to introduce a
default-frame-alist that would set a height that would fit.
It did not work.  I was beginning to think that maybe height
was no longer a valid parameter for that alist.

After discovering that it fit at size 9, I tried size 10.
To my surprise, an absurd height that I had left from
testing in my alist suddenly took effect.  As far as I can
tell, the height parameter in the alist is ignored for sizes
9 and 11, while it is observed for size 10.  This is very
difficult to explain.  I am now configured for size 10 and a
reasonable height in the alist that does work as advertised.

If it is not a bug, can anyone explain what is going on

I note that if I use text-scale-adjust, it maintains a
consistent height in pixels by adjusting the height in
lines.  I regard that as good.  OTOH, when I use the Set
Default Font menu Option, the height in lines does not
change and the frame may become too big to fit.  IMO, this
is not good.

 David V.

reply via email to

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