emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: Steffan Iverson <steffan.iverson@gmail.com>
Cc: Bastien <bzg@gnu.org>, Org Mode <emacs-orgmode@gnu.org>
Subject: Re: mis-alignment in org-tables with Tibetan characters
Date: Tue, 11 Feb 2014 11:12:07 +0800	[thread overview]
Message-ID: <8761omgx6g.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <CADCudd5VmTzM3XR2BiVnZJPNodA-Pi+pYdUPZmV3DSW64iaLzA@mail.gmail.com> (Steffan Iverson's message of "Mon, 10 Feb 2014 18:50:26 -0800")

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 <bzg@gnu.org> writes:
>    
>     > Eric Abrahamsen <eric@ericabrahamsen.net> 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!  I'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.
>    
>     Sorry this took a while to get to...
>    
>     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.
>    
>     Please test!
>    
>     Eric
>    

  reply	other threads:[~2014-02-11  3:10 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-03  3:29 mis-alignment in org-tables with Tibetan characters Steffan Iverson
2014-02-03  5:33 ` Steffan Iverson
2014-02-04 18:13   ` Michael Brand
2014-02-05  0:00     ` Steffan Iverson
2014-02-05  5:35       ` Michael Brand
2014-02-06 13:03         ` Michael Brand
2014-02-03  9:20 ` Bastien
2014-02-04 14:18   ` Eric Abrahamsen
2014-02-04 16:35     ` Bastien
2014-02-10  4:09       ` Eric Abrahamsen
2014-02-11  2:50         ` Steffan Iverson
2014-02-11  3:12           ` Eric Abrahamsen [this message]
2014-05-24 10:01         ` Bastien
2014-05-25  5:14           ` Eric Abrahamsen
2014-05-25  5:18             ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761omgx6g.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=bzg@gnu.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=steffan.iverson@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).