From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.help Subject: Re: Setting font height in Xresources Date: Sun, 08 Mar 2009 23:10:27 +0100 Organization: A noiseless patient Spider Message-ID: References: <871vt7brq2.fsf@sdf-eu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236636492 22005 80.91.229.12 (9 Mar 2009 22:08:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Mar 2009 22:08:12 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 09 23:09:29 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lgner-0002Hb-16 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Mar 2009 23:09:13 +0100 Original-Received: from localhost ([127.0.0.1]:40796 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LgndV-00081X-9l for geh-help-gnu-emacs@m.gmane.org; Mon, 09 Mar 2009 18:07:49 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!news2.glorb.com!news.motzarella.org!motzarella.org!rileyrgdev.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-X-Trace: news.eternal-september.org U2FsdGVkX18DzfMndnq7EKykIj2HMD7OxbN5JpzDc+6yKSm49uyaMQ6IskB5g4EqGh9PZBU0cyhOG1qGD1uNeXln+rVqN7cjO0/4bSwA/qKNlS7H36AaX1MjwZuC5rNG94BlGq7EDKReZSF0h4Kugw== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Sun, 8 Mar 2009 22:10:41 +0000 (UTC) X-Auth-Sender: U2FsdGVkX18BmOuf6qmDyiTVtAq2iAX6v7WDAwvAdgSrgUuvnbiV0g== Cancel-Lock: sha1:fOxNauTIHZnop4hv7bVJfhOFbnM= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:167478 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:62782 Archived-At: Jim Burton 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