From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by sourceware.org (Postfix) with ESMTPS id BCD583858025 for ; Sun, 25 Apr 2021 23:14:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BCD583858025 Received: by mail-pl1-x636.google.com with SMTP id y1so12283934plg.11 for ; Sun, 25 Apr 2021 16:14:54 -0700 (PDT) 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:in-reply-to:references :message-id:mime-version:content-transfer-encoding; bh=iiMxEjUX3zuBCKiTJ3GNQKjzq1FhdVi/xaYp1gdmZ48=; b=HBYTBPit3a7k6NpBmOFygIZNMISVk9ty0Scj0GB0YLBjdJetZhw8sE2ejIZWbEnYJQ DvTUY8NpDF8CX6TsiE13/UlKiukUmGll3aG75B6QPRIuBrVL/ZTRCDlYw9kpN1ujUzsV xAhx6xLGGAWRfXLyY1zNcWIkNAsoX43Y4nRmYi70MSaqmbv7xc1WFD4bRvhUnsMHoXrn XUqGth47wCgH6CyOD30GmJ9gQjusI0fZQvhJxOL8kJEZEHHjuyzzAAnA4X1/7H+T0IEd GzeT75SsNNww37z1Xj5SSiL8/68GN4EN/kMca8jqV6VfP/gjiEtC8p9ZASXe3ZhxxA0t xYNw== X-Gm-Message-State: AOAM533N10a+OKs6BKfh/mK6Xd/jjBOXJIZ6TdbMnPVb2U7uZZ/T76GK K0A52VE+4DjwBwafk2ub9XXyt6QLvdE= X-Google-Smtp-Source: ABdhPJyqQbyE2UevBgwmvLCU1cy/g6vgc70uSqYnz031KbL2VlB2azHZi3x8DgpKcgJMhLRHdG/bnQ== X-Received: by 2002:a17:902:6b05:b029:e9:2810:7e59 with SMTP id o5-20020a1709026b05b02900e928107e59mr15955380plk.76.1619392493857; Sun, 25 Apr 2021 16:14:53 -0700 (PDT) Received: from [192.168.3.4] ([2400:2411:aa20:4300:1dcc:c95f:c7eb:51a5]) by smtp.gmail.com with ESMTPSA id l6sm9411068pgc.68.2021.04.25.16.14.52 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Apr 2021 16:14:53 -0700 (PDT) Date: Mon, 26 Apr 2021 08:14:53 +0900 From: Lemures Lemniscati To: cygwin@cygwin.com Subject: Re: mintty overstrokes some fonts unexpectedly In-Reply-To: <4660c89e-6cdd-1fda-f754-a9289f281ba3@towo.net> References: <20210425224102.FF0E.50F79699@gmail.com> <4660c89e-6cdd-1fda-f754-a9289f281ba3@towo.net> Message-Id: <20210426081451.EC3F.50F79699@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Mailer: Becky! ver. 2.75.02 [ja] X-Antivirus: Avast (VPS 210425-24, 2021/04/26), 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2021 23:14:56 -0000 On Sun, 25 Apr 2021 22:33:57 +0200, Thomas Wolff > > Am 25.04.2021 um 15:41 schrieb Lemures Lemniscati via Cygwin: > > Hi! > > > > mintty overstrokes some fonts unexpectedly. > > https://gitlab.com/test.cases/mintty-test/-/tree/54ae800e695ecd1741851cab57320a9d0e95a6fd > > > > 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. > This is a Windows bug. Mintty clearly instruct Windows to apply equidistant spacing to achieve fixed-width character cell behaviour. But for certain character ranges, Windows ignores that. Another example for such misbehaviour is the Tibetan block (U+0F00-U+0FFF). Mintty could work around that by rendering characters separately, at a significant penalty for output speed however. Or it could do that only for affected ranges, but criteria to identify them are obscure. Thank you, Thomas. I tried some earlier versions of mintty: * mintty-3.1.0-1 has the same issue * mintty-2.9.6-0 works expectedly in this case. Regards, Lem