From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Full-width characters break column display Date: Thu, 01 Nov 2018 22:25:36 +0100 Message-ID: <87o9b8bicv.fsf@nicolasgoaziou.fr> References: <871s84vlmu.fsf@llwynog.ekleog.org> <87ftwkd7vc.fsf@nicolasgoaziou.fr> <87y3acu06k.fsf@llwynog.ekleog.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gILCI-0005kW-Qo for emacs-orgmode@gnu.org; Thu, 01 Nov 2018 18:12:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gILCD-0008JN-R1 for emacs-orgmode@gnu.org; Thu, 01 Nov 2018 18:12:14 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:36241) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gILCD-0008Iw-K3 for emacs-orgmode@gnu.org; Thu, 01 Nov 2018 18:12:09 -0400 In-Reply-To: <87y3acu06k.fsf@llwynog.ekleog.org> (Leo Gaspard's message of "Fri, 02 Nov 2018 03:23:15 +0900") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Leo Gaspard Cc: Leo Gaspard , emacs-orgmode@gnu.org Leo Gaspard writes: > Nicolas Goaziou writes: >>> Small issue I've been having with org-mode: full-width characters >>> (eg. =E4=BD=95=E3=81=8B) 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 =EF=BD=8D=EF=BD=81=EF=BD=8B=EF=BD=85=EF=BD= =93=E3=80=80=EF=BD=89=EF=BD=94=E3=80=80=EF=BD=8C=EF=BD=8F=EF=BD=8F=EF=BD=8B= =E3=80=80=EF=BD=8C=EF=BD=89=EF=BD=8B=EF=BD=85=E3=80=80=EF=BD=94=EF=BD=88 > =EF=BD=89=EF=BD=93, 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=20 (string-width "=E4=BD=95=E3=81=8B") 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.