X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=i78AB5o1ZJdiBfnU HWOhDQrGAZvT5ZhGKrSb/kh7Se7uAXj9N/x+vPHPdocpZOQub0rZIt1fbQa4kMvS xeMEGSjlRxyrFG+NqlCSRwZu0CHtBv+ergiYBvY9nWYhLwqcZM/L163cW52pgvbG KHHAbpGu914mb82BuHezNSDGImU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=zqcts+dPFCsFKCvXGquj3J 4fsrg=; b=vWyixsxxDStYCO/obYt54BAOWW/nggmOaBLTXh/1JpKR/M5MOwHkTC M3xls8bUiknaeil5jrv5yBtC9FrwKoF+RsjCmS63i5mSX9IoQeGF2voTMAY3pMcg ObzwWPYDCGiRwLg0uB03wNYgSZ2RK/+40+Y3VA0L4wNs515Vquucs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Reply-To: moss AT cs DOT umass DOT edu Subject: Re: XWin: Tiny fonts on high resolution display To: cygwin AT cygwin DOT com References: From: Eliot Moss Message-ID: Date: Fri, 28 Sep 2018 22:21:26 -0400 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 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