From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25621: 25.1; IPA chars problematic in orgmode table Date: Mon, 06 Feb 2017 17:53:43 +0200 Message-ID: <83efzb71tk.fsf@gnu.org> References: <834m088x6o.fsf@gnu.org> <87tw87qy1z.fsf@rosalinde> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1486397730 11557 195.159.176.226 (6 Feb 2017 16:15:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Feb 2017 16:15:30 +0000 (UTC) Cc: 25621@debbugs.gnu.org, brucer42@gmail.com To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 06 17:15:26 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1calwp-0002iD-Qv for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 17:15:23 +0100 Original-Received: from localhost ([::1]:49292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1calwv-0008OO-99 for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Feb 2017 11:15:29 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1calcB-0007Xv-2q for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2017 10:54:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1calcA-0001GC-3e for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2017 10:54:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1calcA-0001Fy-0p for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2017 10:54:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1calc9-0007YN-Qa for bug-gnu-emacs@gnu.org; Mon, 06 Feb 2017 10:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Feb 2017 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25621 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25621-submit@debbugs.gnu.org id=B25621.148639643829026 (code B ref 25621); Mon, 06 Feb 2017 15:54:01 +0000 Original-Received: (at 25621) by debbugs.gnu.org; 6 Feb 2017 15:53:58 +0000 Original-Received: from localhost ([127.0.0.1]:57961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1calc6-0007Y6-EZ for submit@debbugs.gnu.org; Mon, 06 Feb 2017 10:53:58 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:52546) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1calc5-0007Xt-2m for 25621@debbugs.gnu.org; Mon, 06 Feb 2017 10:53:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1calbv-0001Af-2L for 25621@debbugs.gnu.org; Mon, 06 Feb 2017 10:53:51 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1calbu-0001Ab-V3; Mon, 06 Feb 2017 10:53:46 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4623 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1calbu-00015o-5w; Mon, 06 Feb 2017 10:53:46 -0500 In-reply-to: <87tw87qy1z.fsf@rosalinde> (message from Stephen Berman on Mon, 06 Feb 2017 13:54:48 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:129034 Archived-At: > From: Stephen Berman > Cc: Eli Zaretskii , 25621@debbugs.gnu.org > Date: Mon, 06 Feb 2017 13:54:48 +0100 > > 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" Thanks for investigating this. Yes, Emacs will try to use the default font for punctuation and symbol characters, unless the default font fails to support them; then Emacs will look for a font that does. If that font is a variable-pitch font, you will get mis-alignment, if the mode which produces the table uses whitespace for alignment, and not pixel-granular display properties. This is normal, and not a bug. The solution is to fix your font configuration (e.g., via fontsets inside Emacs, or by installing/uninstalling fonts).