emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Full-width characters break column display


From: Nicolas Goaziou
Subject: Re: [O] Full-width characters break column display
Date: Thu, 01 Nov 2018 22:25:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Leo Gaspard <address@hidden> writes:

> Nicolas Goaziou <address@hidden> writes:
>>> Small issue I've been having with org-mode: full-width characters
>>> (eg. 何か) appear to be breaking column display.
>>
>> Org tables assume a fixed-width font.  You need to use one, if such
>> thing exists for these characters.
>
> Well, it is fixed-width, but twice the width of spaces and vertical
> characters.
>
> Using it with regular English makes it look like th
> is, which I guess you'll grant me is not really usable :)
>
> I wonder if it'd be possible to support full-width chars for CJK
> script?

The problem is that 

  (string-width "何か")

equals

  (string-width "    ")

i.e, 4 characters, but both strings do not have the same length
visually.

As long as the two sexps above disagree, it seems difficult to support
this.



reply via email to

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