This is the mail archive of the
mailing list for the Cygwin project.
Re: XWin dpi setting not working?
- From: Achim Gratz <Stromeko at NexGo dot DE>
- To: cygwin at cygwin dot com
- Date: Wed, 16 Dec 2015 09:26:47 +0000 (UTC)
- Subject: Re: XWin dpi setting not working?
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20151215T151402-491 at post dot gmane dot org>
Wei Ku <wei_j_ku <at> hotmail.com> writes:
> My recently purchased laptop has a rather high resolution 3200x1800,
> corresponding to roughly 300 dpi. Consequently, everything looks tiny in
> the default setting of the Cygwin X server. Adding an option "-dpi 300"
> XWin does not seem to have any effect. (The cygserver is enabled.) Can a
> any one please advise how to solve / workaround this issue? Thanks in a
> advance for the great help.
If the monitor reports the correct physical dimensions of the screen, then
the dpi are usually determined correctly without any manual intervention
(note that in some cases the physical dimensions are "faked" to get integer
multiples of 96dpi or to set the pixel aspect ratio to 1:1). Your
expectation that somehow that DPI setting will influence the presentation of
X applications is on shaky ground, however. HiDPI support for X11 is
rudimentary at best and many applications use bitmap fonts or fixed
resolution graphics by default. You may try to use a scaled display (either
2:1 or 3:1 in your case) or if you know which applications you are going to
use fiddle with their defaults to adapt them to your display better.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple