From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Variable pitch text filling Date: Mon, 29 Nov 2021 21:28:56 +0200 Message-ID: <83bl22vk07.fsf@gnu.org> References: <87ilwft1ph.fsf@gnus.org> <837dcv2c2c.fsf@gnu.org> <875ysft0l3.fsf@gnus.org> <835yse3n01.fsf@gnu.org> <87lf1ars0f.fsf@gnus.org> <83czmm11t0.fsf@gnu.org> <87h7byrplm.fsf@gnus.org> <83a6hq0zey.fsf@gnu.org> <87lf19r7uv.fsf@gnus.org> <83tufxy7f0.fsf@gnu.org> <87zgpn13ce.fsf@gnus.org> <83v90buklw.fsf@gnu.org> <87v90byrxs.fsf@gnus.org> <3C718091-683A-4116-AC87-54364E337E2D@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5241"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Nov 29 20:59:04 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mrmno-0001B5-9A for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Nov 2021 20:59:04 +0100 Original-Received: from localhost ([::1]:57134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrmni-0004zP-SF for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Nov 2021 14:58:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35418) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrmKS-0001mT-W4 for emacs-devel@gnu.org; Mon, 29 Nov 2021 14:28:45 -0500 Original-Received: from [2001:470:142:3::e] (port=57094 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrmKS-0002uU-Js; Mon, 29 Nov 2021 14:28:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=PQCjZP4867QEfYY+PaFm5oED8OWZU8KWEBoHJnUdpzk=; b=Ll177fXJHcNj tWqab/Q9+LQQY16h8TraVQVCL95gvs7gsEqO6bgnPfzEBL7g0eKillaF/ItMUJn8IM+4PHF+2kaiS vNxtS6ETeIIwntk6LF3DBO1eG4G288sCbxDCi/Le/SPByGxb0qAbklybNbGel8uOdBpnQvVtM1Pmi SMb/geB+/GREvlPnol7MWVzZl0uyZasR/cryGcR7FDEzCjBB42VB2W/R2Y1Lu/lTr0uU0txHmkcZZ wWycFRDETBIktofQ/6hiAwoonB+Yc85khFmlcNj2YSno4EHt39WsHWciF+VkWoGLFeSbxv53GSuru 5h/eEGFFxfepMr/Kq3zf2g==; Original-Received: from [87.69.77.57] (port=2920 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrmKR-00008P-9E; Mon, 29 Nov 2021 14:28:44 -0500 In-Reply-To: <3C718091-683A-4116-AC87-54364E337E2D@gmail.com> (message from Yuan Fu on Mon, 29 Nov 2021 10:44:32 -0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280507 Archived-At: > From: Yuan Fu > Date: Mon, 29 Nov 2021 10:44:32 -0800 > Cc: Eli Zaretskii , > emacs-devel@gnu.org > > I think aligning to middle is better, see the image below. Please also try a line that begins with CJK characters below a line that begins with English characters. In that case, flushed left should look the best, because it will be aligned with the beginnings of the other lines. > I manually inserted spaces between CJK characters to align them to ASCII characters. The second line is flushed left, the third flushed right, and the fourth aligned to middle. If we flush the CJK to left, CJK characters are closer to the text before and further from the text after, and vice versa for flushing right. The middle-aligned line looks better. In real-life use, there will usually be a space character between English and CJK, right? If so, the minor pixel differences you mention will not be usually perceptible. By contrast, the problem with the leftmost characters not being aligned will _always_ be visible, and will make the display ugly if not downright buggy by its looks.