unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: bruce robertson <brucer42@gmail.com>
Cc: 25621@debbugs.gnu.org
Subject: bug#25621: 25.1; IPA chars problematic in orgmode table
Date: Mon, 06 Feb 2017 13:54:48 +0100	[thread overview]
Message-ID: <87tw87qy1z.fsf@rosalinde> (raw)
In-Reply-To: <CACdyrTm9oenqLDBJOg3Fk2Jo7O-9vfDXFFQdCSTAVCkd7oFjYg@mail.gmail.com> (bruce robertson's message of "Sun, 5 Feb 2017 23:57:07 +0000")

On Sun, 5 Feb 2017 23:57:07 +0000 bruce robertson <brucer42@gmail.com> wrote:

> If you take the first "table" of char sequences and IPA glyphs in the
> *Help* buffer from C-h I i p a RET and run it through a pipeline,
> "perl -p -e 's/ +/_/g;s/\|/\\vert{}/g;s/_/ \| /g;s/^/\| /;s/$/ \ |/'"
> , you'll have the right data.
>
> Then if you put that into an org-mode buffer and cause the "special
> symbols" like \vert to be displayed, type C-c C-x \.
>
> Now if you position to the 1st cell in the table and start typing TAB
> as the cursor moves through the table, I believe you will see strange
> results.

I can reproduce the "strange results", i.e. bad column alignment in the
table, in current master with -Q but not with my initializations.  The
crucial difference is the font used: with -Q it is this:

"-unknown-Liberation Mono-normal-normal-normal-*-15-*-*-*-m-0-iso10646-1"

and with my initializations it's this:

"-unknown-DejaVu Sans Mono-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1"

If I start with -Q, do `M-x set-frame-font' and enter the latter font,
and then carry out the above recipe, the table columns are all correctly
aligned.

I noticed that the alignment was already not completely correct before
executing `C-c C-x \': some characters have a narrower width, e.g. the
character #x2c8 (MODIFIER LETTER VERTICAL LINE) in the second column of
the second row.  With my initializations this character is displayed in
the same font as the default font listed above, but with -Q it is
displayed in a different font from the default font:

"-unknown-DejaVu Serif-normal-italic-normal-*-15-*-*-*-m-0-iso10646-1"

Steve Berman





  reply	other threads:[~2017-02-06 12:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-04 23:33 bug#25621: 25.1; IPA chars problematic in orgmode table bruce robertson
2017-02-05 15:38 ` Eli Zaretskii
2017-02-05 23:57   ` bruce robertson
2017-02-06 12:54     ` Stephen Berman [this message]
2017-02-06 15:53       ` Eli Zaretskii
2020-08-11  7:56         ` Stefan Kangas

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87tw87qy1z.fsf@rosalinde \
    --to=stephen.berman@gmx.net \
    --cc=25621@debbugs.gnu.org \
    --cc=brucer42@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.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).