delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/28/22:21:43

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: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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: <ab03baea-32c9-4fd3-12fc-518ffa478dd0 AT cornell DOT edu>
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Message-ID: <eb32d50a-7256-8d9d-2c14-38818430c3fd@cs.umass.edu>
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: <ab03baea-32c9-4fd3-12fc-518ffa478dd0@cornell.edu>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019