delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/29/08:35:15

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:date:from:to:cc:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=A4riPFs3v/Vo9C7V
nCmoqBzsJ//cO61vBJW5bxRmcwMoA1ApUcCVQBdXQBO34vBOECuyNtgaarY3ipv7
thmFJguhdHhDo0CTRO46wjv1xjeA8MUQOOPJq0bM0PyrfrVO5EtUFMSZEjL4ETcE
u0RmQwKRXNF0weaEdgI8yLponvQ=
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:date:from:to:cc:message-id:in-reply-to
:references:subject:mime-version:content-type
:content-transfer-encoding; s=default; bh=kG+fPv7TabL5sPjfzngVe8
GhvtE=; b=A8ktNVcDKe/7qJPNKEFwf1mAj/OytMH7y5j0u1C3VO6ujXH/21JzUQ
cAup/3/oDnEfo9YjHNrim5XkafUQWP986Qf2uc394IE4BPmB8CfkayPP4HPjo1aM
Xs+iU12tbSS0liWekHt5HX7L7eN5ahJJBJcJK7g9xrqv/MXhg6VP4=
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=-7.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=
X-HELO: smtp-nf-201.his.com
Date: Sat, 29 Sep 2018 08:34:50 -0400 (EDT)
From: Thomas Dickey <dickey AT his DOT com>
To: Ken Brown <kbrown AT cornell DOT edu>
Cc: cygwin <cygwin AT cygwin DOT com>
Message-ID: <587877532.53563.1538224490561.JavaMail.zimbra@his.com>
In-Reply-To: <0e46d9b2-eb1c-f062-643b-1f6fe90b3037@cornell.edu>
References: <20180929000647 DOT GA2323 AT prl-debian8-64 DOT jexium-island DOT net> <0e46d9b2-eb1c-f062-643b-1f6fe90b3037 AT cornell DOT edu>
Subject: Re: XWin: Tiny fonts on high resolution display
MIME-Version: 1.0


----- Original Message -----
| From: "Ken Brown" <kbrown AT cornell DOT edu>
| To: "Thomas Dickey" <dickey AT his DOT com>
| Cc: "cygwin" <cygwin AT cygwin DOT com>
| Sent: Friday, September 28, 2018 10:25:17 PM
| Subject: Re: XWin: Tiny fonts on high resolution display

| On 9/28/2018 8:06 PM, Thomas Dickey wrote:
|> ----- Original Message -----
|> | From: "Ken Brown" <kbrown AT cornell DOT edu>
|> | To: "cygwin" <cygwin AT cygwin DOT com>
|> | Sent: Friday, September 28, 2018 6:32:25 PM
|> | Subject: XWin: Tiny fonts on high resolution display
|> 
|> | 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:
|> 
|> But none of those are for fonts.  With bitmap fonts, you generally can use 10x20
|> (12x24 is not so good).  Otherwise, your choice would be a TrueType font (which
|> generally have poor coverage of Unicode -- a problem since xterm loads only one
|> font).
|> If you don't need to read CJKV, that's okay though...
|> 
|> With TrueType fonts, you can scale it:
|> 
|> https://invisible-island.net/xterm/manpage/xterm.html#VT100-Widget-Resources:faceSize
| 
| Thanks.  The 10x20 font was still too small, but I was able to get a reasonable
| xterm by adding
| 
|   XTerm*faceName: Lucida Console
|   XTerm*faceSize: 24
| 
| to .Xresources.  The only remaining problem is that the menus are still tiny.  I
| saw https://invisible-island.net/xterm/xterm.faq.html#tiny_menus, so I changed
| 'XTerm*geometry:  80x45' to 'XTerm.VT100.geometry:  80x45'.  But that didn't
| help.  Do you know how I can fix the menu fonts?

well, you cannot fix those using TrueType fonts, but since those use only ASCII,
the poor coverage for 12x24 (the largest bitmap font that I recall) would not
be a problem.

(I can work out a suitable resource pattern for that, if you need it).

-- 
Thomas E. Dickey <dickey AT invisible-island DOT net>
http://invisible-island.net
ftp://ftp.invisible-island.net

--
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