public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Eliot Moss <moss@cs.umass.edu>
To: cygwin@cygwin.com
Subject: Re: XWin: Tiny fonts on high resolution display
Date: Sat, 29 Sep 2018 02:21:00 -0000	[thread overview]
Message-ID: <eb32d50a-7256-8d9d-2c14-38818430c3fd@cs.umass.edu> (raw)
In-Reply-To: <ab03baea-32c9-4fd3-12fc-518ffa478dd0@cornell.edu>

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

  reply	other threads:[~2018-09-29  2:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-28 22:32 Ken Brown
2018-09-29  2:21 ` Eliot Moss [this message]
2018-09-29  0:07 Thomas Dickey
2018-09-29  2:25 ` Ken Brown
2018-09-29  3:03   ` Eliot Moss
2018-09-29  4:19   ` Brian Inglis
2018-09-29 12:35   ` Thomas Dickey
2018-09-29 12:49     ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=eb32d50a-7256-8d9d-2c14-38818430c3fd@cs.umass.edu \
    --to=moss@cs.umass.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).