emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Takaaki ISHIKAWA <takaxp@ieee.org>
To: Bastien <bzg@altern.org>
Cc: Eric Abrahamsen <eric@ericabrahamsen.net>, emacs-orgmode@gnu.org
Subject: Re: double-width characters in tables
Date: Wed, 13 Feb 2013 02:55:40 +0900	[thread overview]
Message-ID: <EFD495D4EF6D4B929DA59742F00AE8AC@ieee.org> (raw)
In-Reply-To: <87ip5xil1e.fsf@bzg.ath.cx>

[-- Attachment #1: Type: text/plain, Size: 1730 bytes --]

Dear Eric,  

I've checked the width of characters you mentioned.
Please find attached images.

In this case, the ascii font is Monaco:12pt.
And Japanese font is "Migu 2M":12pt with 1.2 scaling factor.
The "Migu 2M" font is monospace.

I've got unexpected results, the length of "蛙" or "《" is 2, but
"○" is 1. I don't know the reason. Is the "○" handled as a symbol?

Best regards,
Takaaki Ishikawa

--
Takaaki ISHIKAWA <takaxp@ieee.org>
  GITI, Waseda University
    ( ' -')b http://about.me/takaxp


On 2013年2月13日Wednesday at 0:55, Bastien wrote:

> Hi Eric,
>  
> Eric Abrahamsen <eric@ericabrahamsen.net (mailto:eric@ericabrahamsen.net)> writes:
>  
> > 《蛙》
> > 123456
> >  
> > Doesn't that line up for you? Those bracket characters come with their
> > own "whitespace", maybe this is clearer:
> >  
> > 正能量
> > 123456
>  
>  
>  
> The chinese line and the 123456 one are not of the same
> visual/geometrical width for me, even if they both count as 6
> characters.
>  
> See the screenshots, where you can see it quickly.
>  
> > One Chinese character should definitely take up two screen columns.
>  
> Not for me... perhaps that's because I don't have a monospace font
> for chinese characters? Do you?
>  
> > I'd love to file a bug report but I honestly don't know where this comes
> > from. If it's not org-add-props or relatives, what emacs function is
> > responsible?
>  
>  
>  
> Unless you don't see the difference I observe here on my screen,  
> this may be a bug in Emacs internal display engine.
>  
>  
> --  
> Bastien
>  
>  
> Attachments:  
> - emacs-string-width1.jpg
>  
> - emacs-string-width2.jpg
>  



[-- Attachment #2: ishot-1.png --]
[-- Type: image/png, Size: 83127 bytes --]

[-- Attachment #3: ishot-2.png --]
[-- Type: image/png, Size: 86974 bytes --]

  reply	other threads:[~2013-02-12 17:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12 10:56 double-width characters in tables Eric Abrahamsen
2013-02-12 11:02 ` Jambunathan K
2013-02-12 11:22   ` Bastien
2013-02-12 11:16 ` Bastien
2013-02-12 15:43   ` Eric Abrahamsen
2013-02-12 15:50     ` Nick Dokos
2013-02-12 15:55     ` Bastien
2013-02-12 17:55       ` Takaaki ISHIKAWA [this message]
2013-02-12 18:43     ` Achim Gratz
2013-02-13  1:46       ` Eric Abrahamsen
2013-02-13  2:23         ` [PATCH] " Eric Abrahamsen
2013-02-13 11:42           ` Bastien
2013-02-13 13:18             ` Eric Abrahamsen
2013-02-13  8:50         ` Eric Abrahamsen
2013-02-13 11:31         ` 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=EFD495D4EF6D4B929DA59742F00AE8AC@ieee.org \
    --to=takaxp@ieee.org \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    /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).