delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/12/16/04:27:22

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=rZDKOs+ECecy55Sq9JBYjT9v1AyU1kaTewskBGXD1Zv/FrHs/iscW
MfkuW4C7qZS1Zclc1+Oy5Vx05XD7hUUPTNv2ayV0Ruhi8QnV8Pi9DunWzeWKpgfF
tgvL2HaYZzRVZ8kNQJS8Y5Zky4b9SQXx27d0QYO4pYvHlgs9sL/pdc=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=94NpC/ms0XjvizcTBGDXEf2QJ8Q=; b=furYWSyiEXV14c1EUfPLv1MAPV9r
BexMlIFApX1ZML1FNiDhvNZA3t5F91eGFaRjI7s/r2djYLD8U5VadTtH/xbCtK00
EiGHtDePXpB7i8ZLwlqA2zQwVehhcky9QID1xOtkYiUDQBuUXG02iCkNP3gw4S9k
mbWrfvwoobfDpSs=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_50,FSL_HELO_BARE_IP_2,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT NexGo DOT DE>
Subject: Re: XWin dpi setting not working?
Date: Wed, 16 Dec 2015 09:26:47 +0000 (UTC)
Lines: 26
Message-ID: <loom.20151216T101825-975@post.gmane.org>
References: <loom DOT 20151215T151402-491 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

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"
to XWin
> 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.

https://wiki.archlinux.org/index.php/HiDPI


Regards,
Achim.



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