XWin: Tiny fonts on high resolution display

Eliot Moss moss@cs.umass.edu
Sat Sep 29 02:21:00 GMT 2018


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



More information about the Cygwin mailing list