X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C38B8385703C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1696769749; bh=LhQSFrdxYT+L5/0jA0zFU64Y8IQVz3CdexnX0vSdE4E=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=LiUO1MG4RFpvLKNZhBFXHFpr+SYpQnXIadE2X7gik+g5CUwErs4cJcHgIBmMNVrFJ jn0IjGQ4wek79WGfVjOc/lx9+ktK6JUM1WlwcUhp30713DjP+kEXl5FdJ9ldaq2dtS ebWkHJCQCa77QHoppKS7IvDer934IKreswdoWp6Q= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 087A73858D1E Date: Sun, 8 Oct 2023 12:55:30 +0000 To: Thomas Wolff via Cygwin Subject: Re: half- and full-width CJK characters Message-ID: Mail-Followup-To: Thomas Wolff via Cygwin References: <59ea964a-0817-4af4-aece-36d7c3a707a3 AT towo DOT net> <4611b895-5f60-47f8-bd85-6009a70e923e AT towo DOT net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4611b895-5f60-47f8-bd85-6009a70e923e@towo.net> User-Agent: NeoMutt/20230407 X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Dr Bean via Cygwin Reply-To: Dr Bean Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 398CtoMI022919 On Sat, 07 Oct 2023, Thomas Wolff via Cygwin wrote: > > > Am 07/10/2023 um 14:47 schrieb Dr Bean via Cygwin: > > On Sat, 07 Oct 2023, Thomas Wolff via Cygwin wrote: > > > > > Am 07/10/2023 um 10:23 schrieb Dr Bean via Cygwin: > > > > I am memorializing this for my own benefit here. > > > > > > > > Benefitting fromhttps://eng-blog.iij.ad.jp/archives/12576 > > > > I see that I don't need to change any envars, but only fonts. > > > > > > > > The default Lucida Console font renders CJK as half-width chars, on > > > > this PC with 3 Windows language packs. > > > > > > > > With MS ゴシック, Japanese かな and 漢字 look good. > > > > Traditional Chinese ㄅㄛˋㄆㄛˋㄇㄛˋand 漢字 look good. > > > > Korean 한글 doesn't look good. It looks like they're > > > > half-width characters drawn with the space for one full-width > > > > character. > > > > > > > > I wonder if this is a problem with the Korean language pack. > > > > > > > Please describe the context of your observations (preferably a test case); > > > do you have an issue inside the Cygwin Terminal? > > > Thomas > > All mintty contexts. Viewing this email in an SSH session in screen > > to a remote tmux session on freeshell.org, writing this reply in vim, > > and changing the mintty font option from , > > > > Font=Lucida Console > > to > > Font=MS ゴシック > > > > the above CJK characters change appearance from half-width to full-width, > > except for the Korean 한글, which doesn't change appearance. > > > > Attaching to the tmux session on freeshell, sshing in from my > > phone with Termius, the characters don't change, of course. > > > > I'm not suggesting there's anything wrong with the default mintty font > > option of Lucida Console. It looks good. > > > > I am on the lookout for a good font for viewing korean 한글, so I > > don't have to magnify the screen to read it. > > > > By the way, thanks for mintty. It is a joy to use. > > > Judging by the name (which has Katakana characters), MS ゴシック is a > Japanese font, so maybe it simply does not have any special Korean > ideographs and the Windows font fallback mechanism substitutes some > unsuitable font. > You should try to find a specific Korean font, I doubt MS ゴシック was > provided by the Korean language pack. I could try to reproduce the issue if > you tell me which font it is. As far as I know, the CJK names are only used > with respective language packs installed, otherwise the same font can be > addresses by an alternative name. You could also look up the font filename > (in the Windows Fonts folder) to identify it. Thomas In the mintty font option dropdown there are at least 2 (4?) fonts giving full-width Korean 한글 here. I have the Windows Korean language pack installed. They are with filenames in /cygdrive/c/windows/Fonts: BatangChe batang.ttc DotumChe gulim.ttc GulimChe gulim.ttc GungsuhChe batang.ttc And MS ゴシック msgothic.ttc (the MS chars are full-width) doesn't result in full-width hangul. So, I've found a suitable font for Korean 한글. -- Greg Matheson Practitioners just do it. http://drbean.sdf.org Reflective Practitioners just think they drbean AT freeshell DOT org did 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