delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/04/25/09:41:10

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D83B83857811
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1619358068;
bh=Xa+b0m3Gn1tBKuMEq++Ej8dBPMjKmn+kimcHgIL2XL0=;
h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=N7Iixq9xzTbu7xbcXs8U91RmbLCCpWUgdSD6wA5LxO0XzBdTTWh0qIN5Qq43HxMcI
V2DecmvQCm2I017m+atKzPWQrvArkluuagAFJIu1WcF87cqBO3s8x+8jUZ7IcI0qTX
YX0l/nMqz45XNt4izmrm/cVVS9PbSV2qz0q5oXnM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9ABF3385802D
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:to:subject:message-id:mime-version
:content-transfer-encoding;
bh=6IAYQEeEVBQCLKnFc1UxsVfP8L4EhoYNVY/R4G6DAfw=;
b=LrcAyr1zMVT/ONqNZ87AL1ZmBZhUEpwP515af/qPZYyn8HVGsvq797EZuxjcZoEbeL
p3B5lrl4rLTDYUeUwJN7B3+Cc3JWCesQJ8gh4LJYxEDt4x6BToOMK2QEbar7jrjkiBxp
QWyjF5i08ZUxi0DihKmXcn/kZRcpsc+gMMbomTTSTN5tuFfJiaOCn0MwwIFrZ1D6Htyf
r84U2YNtgQ6qVXjvEhO7/PSa9r9vJGG8FHDgFWDyp+TEnM97pPYMqiPfxd0eJH94/38Y
vA7B+s1tuMg35LwAGo4e6DAC6rArImYhQLFU4YVhqMuxtA5fGLIxkRQx/MZ0F5oQ5mT8
HtvQ==
X-Gm-Message-State: AOAM53013Bj+RZWN3UcNbsIU5ohfoxqzMTVnVtB9FxOlh8PPUU0iXISs
ySBjo8EEkvSSkLzzFDq2Hp0QCT3kDnk=
X-Google-Smtp-Source: ABdhPJyH1Zz2zIyd4uEDeTwLzK3wk8qSddAsWT0KQQ5S/+XcJkAIT2Kaq8euv9k0TrjUeuBEpmDqIg==
X-Received: by 2002:a63:e30a:: with SMTP id f10mr12458078pgh.167.1619358063705;
Sun, 25 Apr 2021 06:41:03 -0700 (PDT)
Date: Sun, 25 Apr 2021 22:41:04 +0900
To: cygwin AT cygwin DOT com
Subject: mintty overstrokes some fonts unexpectedly
Message-Id: <20210425224102.FF0E.50F79699@gmail.com>
MIME-Version: 1.0
X-Mailer: Becky! ver. 2.75.02 [ja]
X-Antivirus: Avast (VPS 210425-4, 2021/04/25), Outbound message
X-Antivirus-Status: Clean
X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Lemures Lemniscati via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Lemures Lemniscati <lemures DOT lemniscati AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

Hi!

mintty overstrokes some fonts unexpectedly.
https://gitlab.com/test.cases/mintty-test/-/tree/54ae800e695ecd1741851cab57320a9d0e95a6fd


How to reproduce

Setting mintty to use msgothic.ttc in 20pt, run a
following command.

====
perl -e '
binmode STDOUT, ":utf8";
print <<END;
01234567
\x{3042}\x{3044}\x{3046}\x{3048}
AaBbCcDe
\x{25cb}\x{25cb}\x{25cb}\x{25cb}
\x{3007}\x{3007}\x{3007}\x{3007}
\x{300c}\x{300e}\x{3010}\x{3012}
\x{300d}\x{300f}\x{3011}\x{3013}
\x{ff62}\x{ff63}\x{ff62}\x{ff63}\x{ff62}\x{ff63}\x{ff62}\x{ff63}
\x{ff71}\x{ff72}\x{ff73}\x{ff74}\x{ff75}\x{ff76}\x{ff77}\x{ff78}
END
'
====


I got a result mintty-sample-msgothic.png.
https://gitlab.com/test.cases/mintty-test/-/blob/54ae800e695ecd1741851cab57320a9d0e95a6fd/mintty-sample-msgothic.png

In the 4th line of the output, fonts (of u+25cb) were overstruck
unexpectedly.
And there are other characters also, which are similarly overstruck.


On the other hand, copying the result to a window of notepad.exe
displaying with msgothic.ttc in 20pt.

I got a result notepad-sample-msgothic.png, in which fonts were rendered
expectedly.
https://gitlab.com/test.cases/mintty-test/-/blob/54ae800e695ecd1741851cab57320a9d0e95a6fd/notepad-sample-msgothic.png


My cygwin environment is:

====
$ uname -srvmo; cygcheck -c mintty;
CYGWIN_NT-10.0 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin
Cygwin Package Information
Package              Version        Status
mintty               3.5.0-1        OK
====

Regards,

Lem

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019