From: Carsten Dominik <dominik@uva.nl>
To: "Larry.Liu" <smartlitchi@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Align of columns is not correct if Chinese character contained.
Date: Tue, 21 Oct 2008 10:32:33 +0200 [thread overview]
Message-ID: <D44B0F17-A12B-4AF7-A5CE-535783E6D277@uva.nl> (raw)
In-Reply-To: <d0ff20270810210048w6a9ce068p3aadce63d9d59191@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1314 bytes --]
Hi Larry,
this has come up before. You need to use a fixed-width chinese font
as your default font, one where each character will occupy exactly two
(or 1 or 3) ascii character widths. Org is smart enough to deal with
integer width characters (quite a feat already, I assure you), but it
cannot and likely never will handle variable width fonts.
- Carsten
On Oct 21, 2008, at 9:48 AM, Larry.Liu wrote:
> I found the align of table columns, as well as tags and columns in
> column mode are not aligned correctly, if there is any Chinese
> character contained,
>
> The attachment is a screen shoot
>
> System: MacOS 10.5.5
> Emacs: GNU Emacs 22.2.50.1 (i386-apple-darwin9.4.0, Carbon Version
> 1.6.0)
> Org-mode version: version 6.09
>
> I am not familar with lisp so I can not look into the code, is this
> a bug of org-mode or tbl? maybe this is because the length of multi-
> byte character is not calculated correctly?
>
> Thanks.
>
> --
> --------------------------------------
> Larry.Liu
> Mobile: 13911483964
> ---------------------------------------
> <screenshot.png>_______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 1886 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
prev parent reply other threads:[~2008-10-21 8:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 7:48 Align of columns is not correct if Chinese character contained Larry.Liu
2008-10-21 8:32 ` Carsten Dominik [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D44B0F17-A12B-4AF7-A5CE-535783E6D277@uva.nl \
--to=dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=smartlitchi@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.