* Align of columns is not correct if Chinese character contained.
@ 2008-10-21 7:48 Larry.Liu
2008-10-21 8:32 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Larry.Liu @ 2008-10-21 7:48 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 618 bytes --]
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
---------------------------------------
[-- Attachment #1.2: Type: text/html, Size: 825 bytes --]
[-- Attachment #2: screenshot.png --]
[-- Type: image/png, Size: 163883 bytes --]
[-- Attachment #3: 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Align of columns is not correct if Chinese character contained.
2008-10-21 7:48 Align of columns is not correct if Chinese character contained Larry.Liu
@ 2008-10-21 8:32 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-10-21 8:32 UTC (permalink / raw)
To: Larry.Liu; +Cc: emacs-orgmode
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-21 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 7:48 Align of columns is not correct if Chinese character contained Larry.Liu
2008-10-21 8:32 ` Carsten Dominik
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).