emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Variable pitch text filling


From: Yuan Fu
Subject: Re: Variable pitch text filling
Date: Mon, 29 Nov 2021 10:44:32 -0800



On Nov 29, 2021, at 6:09 AM, Lars Ingebrigtsen <larsi@gnus.org> wrote:

Eli Zaretskii <eliz@gnu.org> writes:

It is also unnecessary, because having 2 pixels to the right of each
character is practically indistinguishable from having one pixel on
the left and 1 pixel on the right: you still end up with 2 pixels
between any two characters.

The difference is with the characters above and below.  When doing a
monospaced "grid" display, the Roman characters will form a reliable
grid while the CJK will be put to the left in their allotted space.

Having them in the middle of that space might be more pleasing, but
again, I think we need some input from CJK users here to see what they
expect.

I think aligning to middle is better, see the image below. 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. 



And we could perhaps leave this as an option to be specified by the user
(somehow).  I.e., flush left, flush right and middle.  But perhaps this
is over-engineering again.

I can’t think of useful use-cases for flushing left and right right now.

Yuan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]