From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69970 invoked by alias); 29 Sep 2018 02:21:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 69957 invoked by uid 89); 29 Sep 2018 02:21:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*edu X-HELO: mailsrv.cs.umass.edu Received: from mailsrv.cs.umass.edu (HELO mailsrv.cs.umass.edu) (128.119.240.136) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 29 Sep 2018 02:21:29 +0000 Received: from [192.168.0.2] (c-24-62-203-86.hsd1.ma.comcast.net [24.62.203.86]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id 27AA04023B81; Fri, 28 Sep 2018 22:21:27 -0400 (EDT) Reply-To: moss@cs.umass.edu Subject: Re: XWin: Tiny fonts on high resolution display To: cygwin@cygwin.com References: From: Eliot Moss Message-ID: Date: Sat, 29 Sep 2018 02:21:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg00286.txt.bz2 On 9/28/2018 6:32 PM, Ken Brown wrote: > A Google search shows that this is a very frequently asked question (e.g., > https://sourceware.org/ml/cygwin/2016-07/msg00247.html), but I haven't found a > good answer, except perhaps to use Gnome or some other desktop environment. (I > haven't tried that yet.) > > I just got a new laptop with a 3840x2160 display. When I start the X server via > startxwin, xterm and emacs open small windows with tiny fonts. Here are the > xterm and emacs settings in my .Xresources: > > emacs.geometry: 80x34+340+40 > XTerm*geometry: 80x45 > XTerm*VT100*colorBDMode: on > XTerm*VT100*colorBD: blue > XTerm.VT100*colorULMode: on > XTerm.VT100*underLine: off > XTerm*VT100*colorUL: magenta > XTerm*scrollBar: true > XTerm*rightScrollBar: true > XTerm*saveLines: 10000 > XTerm*metaSendsEscape: true So here's the thing - the width and height for these is in terms of number of characters (in whatever the font is), not in pixels. The offsets *may* be in pixels - I forget. But what messes things us - which happens to me on my 3000x2000 display, is the fonts. Here are the ones I use: XTerm*font: -adobe-courier-medium-r-normal-*-34-240-*-*-*-*-*-* XTerm*bodyFont: -adobe-courier-medium-r-normal-*-34-240-*-*-*-*-*-* Emacs.default.attributeFont: -adobe-courier-medium-r-normal-*-34-240-*-*-*-*-*-* Hope this helps! Eliot -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple