delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/09/29/00:19:44

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=O5abz3qviidfLr7S
kh/OY15CWaZfLjpajfrEwYVu4HQ6Jf3kZOzEgsscYUwd5/jAl+893XVgEhOGuAEy
WNOkCx8GPRuWZxeWu+OuDnIjbQHsEOeGK2JHd2acJzXEArVLqgrk+Ai0HiLoOiHV
IgnNzhm39/PoEKxivDKDGaa+Wfo=
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=wQVq+BotmqCWgGkYnrEWfj
y3u4M=; b=TGruGiFe9QVutuWK0JrUao4ki81FpRrfauHSXEpybvZJ7LygtCVaGJ
FWMVXN2G2Y9li91lSpSnYF4uxKBJmNxIszjdPY+q2t56cluOGTEvmOmqEwrOrTy6
s2WBof6lsj4AHMw7Bp7HYqxY/o5PXsedPJZL0O8WKY0re97gqArUA=
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.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, Sans, discretion
X-HELO: smtp-out-so.shaw.ca
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: XWin: Tiny fonts on high resolution display
To: cygwin AT cygwin DOT com
References: <20180929000647 DOT GA2323 AT prl-debian8-64 DOT jexium-island DOT net> <0e46d9b2-eb1c-f062-643b-1f6fe90b3037 AT cornell DOT edu>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Openpgp: preference=signencrypt
Message-ID: <dcd87518-5857-6c71-e766-5284f9815ffa@SystematicSw.ab.ca>
Date: Fri, 28 Sep 2018 22:19:28 -0600
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: <0e46d9b2-eb1c-f062-643b-1f6fe90b3037@cornell.edu>
X-IsSubscribed: yes

On 2018-09-28 20:25, Ken Brown wrote:
> On 9/28/2018 8:06 PM, Thomas Dickey wrote:
>> On Friday, September 28, 2018 6:32:25 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:
>> 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).

DejaVu Sans Mono has pretty good UTF-8 glyph coverage and is regularly updated:
DejaVu has been my font family of choice everywhere for a few years.
The Unicode Font Resources page has other font suggestions with higher glyph
counts, but most are not as readable, especially for developer content.
Windows font linking allows fallback fonts to be used where glyphs are missing.

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

If you are having problems getting apps to display e.g. 10pt fonts looking like
10pt, 8pt etc., you might want to try Windows Settings/Display/Scaling designed
to help with app high res display issues.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

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