Web lists-archives.com

Re: XWin: Tiny fonts on high resolution display




----- Original Message -----
| From: "Ken Brown" <kbrown@xxxxxxxxxxx>
| To: "cygwin" <cygwin@xxxxxxxxxx>
| 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

| 
| 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
| 
| I'm attaching my cygcheck output and XWin log.
| 
| Thanks in advance for any suggestions.
| 
| Ken

-- 
Thomas E. Dickey <dickey@xxxxxxxxxxxxxxxxxxxx>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature