emacs-devel
[Top][All Lists]
Advanced

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

RE: address@hidden: RE: set-frame-font with no KEEP-SIZE arg doesn't res


From: Drew Adams
Subject: RE: address@hidden: RE: set-frame-font with no KEEP-SIZE arg doesn't resize the frame, so (frame-width) is incorrect]
Date: Sun, 17 Oct 2004 10:14:33 -0700

Thanks, Jason. Very clear.

The pixel-height-only change "worked" in Emacs 20, and I was thinking it
should also "work" as is in 21 - but you are right: my code was not
complete/correct. - Drew

-----Original Message-----From: Jason Rumney
RE: set-frame-font with no KEEP-SIZE arg doesn't resize the frame, so
(frame-width) is incorrect

> (set-frame-font "-outline-Lucida
> Console-normal-r-normal-normal-14-105-96-96-c-80-iso8859-1")
> (set-frame-font "-outline-Lucida
> Console-normal-r-normal-normal-18-105-96-96-c-80-iso8859-1")

You have only changed the pixel height of the font, without changing
the height in points, or the width of the font...If you replace the
other size specifiers with wildcards, the frame width changes as
expected:
(set-frame-font "-outline-Lucida
Console-normal-r-normal-normal-18-*-96-96-c-*-iso8859-1")





reply via email to

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