all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Setting font height in Xresources
@ 2009-03-08 22:00 Jim Burton
  2009-03-08 22:10 ` Richard Riley
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Burton @ 2009-03-08 22:00 UTC (permalink / raw)
  To: help-gnu-emacs

Hi, I want to use the default font but change the height attribute in
Gnu EMacs 23.0.60 on Linux, Ubuntu Intrepid. I can easily set this in
.emacs and in GNOME that works fine but under the xmonad window manager
(which is a tiling wm) it is messed up. Emacs starts with the larger
font size then resizes it. This leaves the echo area the wrong size and
any mode lines running up to about two thirds of the width of the frame
then stopping. If I change the xmonad layout then the emacs window is
redrawn and everything is fine, but this is a nuisance. (redraw-display)
at the end of .emacs didn't help.

I thought that setting the font height earlier on might help so tried to
set it in Xresources with

Emacs.default.attributeHeight:100

(not forgetting xrdb merge ...) but this has no effect on the font
size. What's the right way to do this?

Thanks a lot,


-- 
Jim Burton
jim@sdf-eu.org


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Setting font height in Xresources
  2009-03-08 22:00 Setting font height in Xresources Jim Burton
@ 2009-03-08 22:10 ` Richard Riley
  2009-03-08 22:27   ` Jim Burton
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Riley @ 2009-03-08 22:10 UTC (permalink / raw)
  To: help-gnu-emacs

Jim Burton <jim@sdf-eu.org> writes:

> Hi, I want to use the default font but change the height attribute in
> Gnu EMacs 23.0.60 on Linux, Ubuntu Intrepid. I can easily set this in
> .emacs and in GNOME that works fine but under the xmonad window manager
> (which is a tiling wm) it is messed up. Emacs starts with the larger
> font size then resizes it. This leaves the echo area the wrong size and
> any mode lines running up to about two thirds of the width of the frame
> then stopping. If I change the xmonad layout then the emacs window is
> redrawn and everything is fine, but this is a nuisance. (redraw-display)
> at the end of .emacs didn't help.
>
> I thought that setting the font height earlier on might help so tried to
> set it in Xresources with
>
> Emacs.default.attributeHeight:100
>
> (not forgetting xrdb merge ...) but this has no effect on the font
> size. What's the right way to do this?
>
> Thanks a lot,

I use Emacs under XMonad with no issues. My font specifier in an X
resource file is simply:

,----
| Emacs*font: -adobe-courier-medium-r-normal-*-12-100-*-*-m-*-iso8859-1
`----

I don't know about specifying height separately.

-- 
 important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Setting font height in Xresources
  2009-03-08 22:10 ` Richard Riley
@ 2009-03-08 22:27   ` Jim Burton
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Burton @ 2009-03-08 22:27 UTC (permalink / raw)
  To: help-gnu-emacs

Richard Riley <rileyrgdev@gmail.com> writes:

> Jim Burton <jim@sdf-eu.org> writes:
>
>> Hi, I want to use the default font but change the height attribute in
>> Gnu EMacs 23.0.60 on Linux, Ubuntu Intrepid. I can easily set this in
>> .emacs and in GNOME that works fine but under the xmonad window manager
>> (which is a tiling wm) it is messed up. Emacs starts with the larger
>> font size then resizes it. This leaves the echo area the wrong size and
>> any mode lines running up to about two thirds of the width of the frame
>> then stopping. If I change the xmonad layout then the emacs window is
>> redrawn and everything is fine, but this is a nuisance. (redraw-display)
>> at the end of .emacs didn't help.
>>
>> I thought that setting the font height earlier on might help so tried to
>> set it in Xresources with
>>
>> Emacs.default.attributeHeight:100
>>
>> (not forgetting xrdb merge ...) but this has no effect on the font
>> size. What's the right way to do this?
>>
>> Thanks a lot,
>
> I use Emacs under XMonad with no issues. My font specifier in an X
> resource file is simply:
>
> ,----
> | Emacs*font: -adobe-courier-medium-r-normal-*-12-100-*-*-m-*-iso8859-1
> `----
>
Hi Richard, I am using the xft backend and if I set the font to a
specific one, e.g.  "Monospace-10" then I don't get the right fontset
behaviour, in that only that font is used and so most unicode chars
aren't displayed. So I want to keep the default (:family "Deja Vu Sans
Mono" in my case, which picks the right font for unicode) and just
change the height.

Jim 

> I don't know about specifying height separately.

-- 
Jim Burton
jim@sdf-eu.org


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-08 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-08 22:00 Setting font height in Xresources Jim Burton
2009-03-08 22:10 ` Richard Riley
2009-03-08 22:27   ` Jim Burton

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.