X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BE1C6385841B
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=dronecode.org.uk
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk
Authentication-Results: btinternet.com;
 auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com;
 bimi=skipped
X-SNCR-Rigid: 613006A912EA1C57
X-Originating-IP: [81.129.146.209]
X-OWM-Source-IP: 81.129.146.209 (GB)
X-OWM-Env-Sender: jonturney@btinternet.com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvvddrudeigdeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfhffuvfhfjggtgfesthejredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepledtveduffeikeeugffgheefjeegffehffdvjeelgfffffelteefvdetvdelteehnecuffhomhgrihhnpegthihgfihinhdrtghomhenucfkphepkedurdduvdelrddugeeirddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdefngdpihhnvghtpeekuddruddvledrudegiedrvddtledpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepmfgvnhghhhhithgvshgvlhhlsegtohhmtggrshhtrdhnvghtpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomh
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Message-ID: <4f4d8d34-3e30-82fe-4be2-2926da2c1c6a@dronecode.org.uk>
Date: Wed, 19 Jan 2022 19:28:57 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
 Thunderbird/91.5.0
From: Jon Turney <jon.turney@dronecode.org.uk>
Subject: Re: Cygwin/X with Win10 display scaling corrupting font display of
 typed characters - Issue identified
To: Ken Whitesell <KenWhitesell@comcast.net>,
        The Cygwin Mailing List <cygwin@cygwin.com>
References: <b56c0a7e-27f3-c165-6331-69b71b2075a5@comcast.net>
 <02b8ba82-0a40-e9ea-c4e6-fe201097d957@comcast.net>
Content-Language: en-GB
In-Reply-To: <02b8ba82-0a40-e9ea-c4e6-fe201097d957@comcast.net>
X-Spam-Status: No, score=-3571.0 required=5.0 tests=BAYES_00, FORGED_SPF_HELO,
 KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
 RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_NONE,
 TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On 19/01/2022 00:02, Ken Whitesell wrote:
> On 1/17/2022 1:29 PM, Ken Whitesell wrote:
>>
>> Is there a known solution for this? (Or is it known that there is no 
>> solution?)

Thanks for reporting this.

>> Any guidance, pointers, suggestions of avenues for further research, 
>> or other information, will all be greatly appreciated.
>>
> After more research and experimentation, it appears to be related to one 
> of xorg-server, xorg-server-common, or xorg-server-xorg.
> 
> Installing the older version 1.20.12-1 of these packages allows the 
> windows to be moved between monitors without any issues. Upgrading to 
> the current version 21.1.3-1 creates the problems. I'm able to replicate 
> this behavior on two different laptops with two different external 
> monitors.

It seems likely that this is an unintended effect of changes in 
xorg-server 21.1.0-1, trying to fix problems in this area (See [1])

You might find that starting the server and specifying a fixed dpi value 
with the '-dpi' option might workaround this.

[1] https://cygwin.com/pipermail/cygwin-announce/2021-November/010286.html

> If I change the scaling from 125% to 100% on the laptop's display,
> the problem appears until I restart Cygwin/X. Restarting Cygwin/X
> shows it displaying properly, until I change the scaling again.

I could only reproduce this problem with mis-rendering when changing the 
scaling on the secondary monitor.

(This is presumably somehow related to the fact that we now keep that 
window at the same pixel dimensions, rather than allowing Windows to 
scale it).

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
