From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19872: 24.4; UTF8 characters of unusual width (Gnus markers) Date: Mon, 16 Feb 2015 17:51:43 +0200 Message-ID: <83zj8dua5s.fsf@gnu.org> References: <86bnkvilxl.fsf@example.com> <86r3tqchqt.fsf@example.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1424104012 19051 80.91.229.3 (16 Feb 2015 16:26:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Feb 2015 16:26:52 +0000 (UTC) Cc: 19872@debbugs.gnu.org To: Sebastien Vauban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 16 17:26:41 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YNOVL-0001c5-Sv for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Feb 2015 17:26:40 +0100 Original-Received: from localhost ([::1]:40712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNOVL-00031E-7E for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Feb 2015 11:26:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNNy4-0007eo-CE for bug-gnu-emacs@gnu.org; Mon, 16 Feb 2015 10:52:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNNxw-00089X-4B for bug-gnu-emacs@gnu.org; Mon, 16 Feb 2015 10:52:16 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNNxq-000883-BU for bug-gnu-emacs@gnu.org; Mon, 16 Feb 2015 10:52:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YNNxp-0003Q5-VG for bug-gnu-emacs@gnu.org; Mon, 16 Feb 2015 10:52:02 -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, 16 Feb 2015 15:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19872-submit@debbugs.gnu.org id=B19872.142410191813135 (code B ref 19872); Mon, 16 Feb 2015 15:52:01 +0000 Original-Received: (at 19872) by debbugs.gnu.org; 16 Feb 2015 15:51:58 +0000 Original-Received: from localhost ([127.0.0.1]:45514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNNxm-0003Pn-5Y for submit@debbugs.gnu.org; Mon, 16 Feb 2015 10:51:58 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:50724) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YNNxj-0003PZ-Fd for 19872@debbugs.gnu.org; Mon, 16 Feb 2015 10:51:56 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NJV00L00FSSJG00@a-mtaout22.012.net.il> for 19872@debbugs.gnu.org; Mon, 16 Feb 2015 17:51:37 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJV00LNNG20FJ40@a-mtaout22.012.net.il>; Mon, 16 Feb 2015 17:51:37 +0200 (IST) In-reply-to: <86r3tqchqt.fsf@example.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:99470 Archived-At: > From: Sebastien Vauban > Cc: 19872@debbugs.gnu.org > Date: Mon, 16 Feb 2015 10:45:14 +0100 > > >> Is there a solution to that, to guarantee that the alignment can be > >> correct? > > > > Only if Gnus will align text using the :align-to display property, > > instead of inserting whitespace characters. > > So, I take it for granted that it doesn't use it yet. I guess, judging by your description. I don't use Gnus, but you can easily verify that by looking at each character in the offending line with "C-x =": if all of the whitespace characters are simple blanks or TABs, then you know. > Is this quite new? You mean, :align-to? It was new 15 years or so ago. > >> Worse, it seems that the same UTF8 char can have a "correct" width in > >> some fonts, and not in others... > > > > Of course: it depends on the dimensions of the glyphs in each font. > > Yes, but I was wondering (or hoping) if there was a mechanism in Emacs > to sort of zoom in/out the characters so that they'd take the same space No, it doesn't. (Is that at all possible? I'm not expert on fonts.) Emacs simply chooses a font whose size matches the best what it needs. > regardless of their (buggy?) definition (buggy when in > a non-proportional font)... They are not buggy. The font designer(s) decided which size to use for each glyph. It's a profession and a discipline. > PS- This problem may occur, maybe, because of automatic font replacement > for characters not found in my default font (Consolas)? Yes, and I'm guessing this is what happened in your case. You can see which font each character came from by using "C-u C-x =".