Re: Developing a new text editor widget?



On Wed, Jun 15, 2016 at 08:13:54AM -0400, Simon McVittie wrote:
Monospace environments like terminals traditionally display æ, œ, … as
a single character-cell: it isn't typographically correct, but neither
is having m the same width as i, and we tolerate that in monospace.

The one use I'm aware of for characters that occupy more than one cell
in monospace is that CJK writing systems have the concept of "fullwidth"
character forms. which take up 2 adjacent cells.
<https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms>

For instance, if you read this mail in monospace, these lines should
line up exactly, even though in a proportional font they'd be very
different lengths:

    |Fullwidth|
    |halfwidthhalfwidth|
    |朅—∴mw朅—∴mw朅—|
    |iiiiiiiillllllllll|

(It works as described in gnome-terminal, xterm and gvim, but not in
gedit, where the full-width letters are about 1.5 character cells.)

Ok, thanks for the information.

--
Sébastien


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