From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: mis-alignment in org-tables with Tibetan characters Date: Tue, 11 Feb 2014 11:12:07 +0800 Message-ID: <8761omgx6g.fsf@ericabrahamsen.net> References: <87a9e8y2ky.fsf@bzg.ath.cx> <8738jzc66w.fsf@ericabrahamsen.net> <87zjm6n8dh.fsf@bzg.ath.cx> <87d2ivpq1b.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD3jW-0002Aq-R4 for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 22:10:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WD3jR-0005Jw-Jg for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 22:10:02 -0500 Received: from mail-pb0-f41.google.com ([209.85.160.41]:36447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD3jR-0005JW-Dz for emacs-orgmode@gnu.org; Mon, 10 Feb 2014 22:09:57 -0500 Received: by mail-pb0-f41.google.com with SMTP id up15so7121103pbc.14 for ; Mon, 10 Feb 2014 19:09:56 -0800 (PST) In-Reply-To: (Steffan Iverson's message of "Mon, 10 Feb 2014 18:50:26 -0800") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Steffan Iverson Cc: Bastien , Org Mode Ah yes, this won't work if your font draws characters at variable widths. I use Chinese a lot, and some Chinese fonts will still create misalignment, simply because a Chinese character as drawn as 192% the width of an ascii character. Dunno how to get around that. On 02/11/14 10:50 AM, Steffan Iverson wrote: > Thanks Eric - I've used this patch but I doesn't seem to solve the > problem. I'm working on an earlier suggestion by Michael about the > unicode type that my Tibetan font is. I very much appreciate all this > help! > > Steffan > > > On Sun, Feb 9, 2014 at 8:09 PM, Eric Abrahamsen < > eric@ericabrahamsen.net> wrote: > > Bastien writes: >=20=20=20=20 > > Eric Abrahamsen writes: > > > >> I've been using that patch or something like it for nearly a > year now, > >> with no adverse effects. I'm on the road right now, give me a > day and > >> I'll take a closer look at what I've got... > > > > Great -- thanks in advance! =C2=A0I'll then wait before releasing a > new > > minor version and merging it into Emacs for Emacs 24.4. > > > > To other core maintainers: if you see important issues that > needs to > > be fixed in maint, let me know. >=20=20=20=20 > Sorry this took a while to get to... >=20=20=20=20 > I think it was a little simpler than I thought -- at least I hope > that's > true, and I'm not missing something really obvious. There are two > patches attached, a simple one that handles re-justification of > table > fields during field movement, and another that allows for > narrowing of > columns with double-width strings. The second patch is uglier, > and > doesn't work 100% well (you get misalignment if you try to narrow > a > double-wide to an odd number of single-width characters), but > it's > better than nothing. >=20=20=20=20 > Please test! >=20=20=20=20 > Eric >=20=20=20=20