Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp911979pxv; Fri, 25 Jun 2021 00:52:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJytTiI4b4zisjGwNXDjGyG3z2SqsCebabdAhN1b3V58Ysgq5V1zlnaHVGVG16lYf47cq/ft X-Received: by 2002:a17:906:f8da:: with SMTP id lh26mr9285122ejb.243.1624607541755; Fri, 25 Jun 2021 00:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624607541; cv=none; d=google.com; s=arc-20160816; b=uIXMk1BVqvHGDJ2CILP5+0UVme5cWERg+3XgfTLke+dgyE5kQUHXABiJ7G5vAkPbLM 3x6611RvSCKVrwHeIRw8fXkJ+tGpRxlKcil/1DDKW41S5Bk9cYImKUQdmTUWz6ZsFgvd DZ3STJXz7ELHnwoRC9rLFp+QUw+QA6Keb7oHC1SGNj6IqjfsIB2ls/1gfaZHhPRWXZat vugVBE2BMNfxDDrYyUugHCAhQvM2u+aDc2nxcWjKhgoOhKyco2u1eKgyYTQ8p7mDxUMY OzWUAq08Md3r/KEQFPHvQI1yQVVtO0rO91adyGNrtEuu8R+FsiUWeuZys0ji4LUKeqFn mzEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=rKXDDdPqSh82R95TTG1+pMStKV0jW/xyEWMG/+23NP8=; b=TgTDbzMB0PgTZ73PceQeG1Ed2wMoZbTVTXxzgtz2cppSuf0j475rRNH6wtAn07bLCq vYb/NoA/m6pvMtkSix73Ic2fHSZEX+UXQ+45FQPXR+ty+vGj/cGrq5mIOhMNnl7ic0UO Fzgx/jP1M4Y+gpK16vwKoHu6WBrl6tVKbOCYYTthyeuwNUkzmk5VmWmqWv1292Qj100s SdydJxJOk2hsYo8SQrmpkLLeSZkqNv3b5IAlT0rT4kxX5US47Q3BSor6HYW6iFssUr98 teH24vrPU5u31/YRGoFvcxRJfeDfSbu3Zma30EeD7H2adHr55Gm1AcFJIz2uiKTNJcCT PPGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZZCY5hCC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c27si4934648ejj.609.2021.06.25.00.51.58; Fri, 25 Jun 2021 00:52:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZZCY5hCC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229886AbhFYHxY (ORCPT + 99 others); Fri, 25 Jun 2021 03:53:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:42024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229721AbhFYHxY (ORCPT ); Fri, 25 Jun 2021 03:53:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 63869613C0; Fri, 25 Jun 2021 07:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624607463; bh=fWOl8kOxGDI5CuY7kq4vwX6NEbElX6xB1jGZ6mixVWQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZZCY5hCC8e5vBdtM1Ne0h1kgUEJBANRnVPnVJ16qyouvywbO8yjtWsck0Je/d7618 gRHASzILhvU/FmisBYT9ZPctn6mQ45gqiJf8SR2hfc7ezMv5sZcIBzCHF3CRc5wBur IffL976PL8fdkxbyT3efimpMf7peKpPHnyOy38Jd0PNrN6PB/6pzBtHKKCl35lKFwX Y+lhS/Rzp6CV6yc2dfsqJuYUvdxBt/04vo+02b+SGD3TevudclEjjcbhBdgA7fpMj5 NNmgMgUspy/tD5wvnQejdWWnNW3sXqEf0ehbFEqB3jkSJAxC56TBZTrUwXiS3+g3fd yDQT0Q5txZsbg== Date: Fri, 25 Jun 2021 09:50:59 +0200 From: Mauro Carvalho Chehab To: "Wu X.C." Cc: Akira Yokosawa , Jonathan Corbet , SeongJae Park , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/3] docs: pdfdocs: Improve alignment of CJK ascii-art Message-ID: <20210625095059.7f97fd62@coco.lan> In-Reply-To: <20210625065524.GA11219@bobwxc.top> References: <386938dc-6290-239c-4b4f-c6153f3d98c5@gmail.com> <20210625065524.GA11219@bobwxc.top> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 25 Jun 2021 14:55:24 +0800 "Wu X.C." escreveu: > On Thu, Jun 24, 2021 at 09:06:59PM +0900, Akira Yokosawa wrote: > > Subject: [RFC PATCH 0/3] docs: pdfdocs: Improve alignment of CJK ascii-= art > >=20 > > Hi all, =20 >=20 > Hi Akira, >=20 > >=20 > > This is another attempt to improve translations' pdf output. > > I see there is a mismatch in the font choice for CJK documents, which > > causes poor-looking ascii-art where CJK characters and Latin letters > > are mixed used. > >=20 > > One of noticeable examples of such ascii-art can be found in > > Korean translation of memory-barriers.txt. > >=20 > > Hence the author of Korean translation of memory-barriers.txt is > > in the CC list. > >=20 > > At first, I thought the issue could be fixed by simply selecting > > "Noto Sans Mono CJK SC" as both of monofont and CJKmonofont. > > It fixed the mis-alignment in the Chinese translation, but failed > > in the Korean translation. > >=20 > > It turns out that Hangul characters in "Noto Sans Mono CJK SC" > > are slightly narrower than Chinese and Japanese counterparts. > > I have no idea why the so-called "mono" font has non-uniform > > character widths. > >=20 > > GNU Unifont is an alternative monospace font which covers > > almost all Unicode codepoints. > > However, due to its bitmap-font nature, the resulting document > > might not be acceptable to Korean readers, I guess. =20 >=20 > OK, it works. >=20 > But I still want to say that the display effect of Unifont is really > not good. Unifont's lattice is too small, and only one size. > http://fars.ee/QA1k.jpg http://fars.ee/GAAv.jpg > Looks like computers 20 years ago, LOL :) >=20 > It there any chance to use other fonts, like *Sarasa Mono* ? > =E7=AD=89=E8=B7=9D=E6=9B=B4= =E7=B4=97=E9=BB=91=E9=AB=94 > Looks more beautifull http://fars.ee/DTT6.jpg > But I guess not many people installed it. Does Sarasa mono looks nice for Japanese, Chinese and Korean (plus latin)? If so, I guess it shouldn't be a problem to use it, as the ./scripts/sphinx-pre-install can be patched to recommend its install. Thanks, Mauro