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#33232: `gnus-summary-line-format' padding =?UTF-8?Q?doesn=E2=80=99t?= work in gui when there are multiple-column-width characters Date: Fri, 02 Nov 2018 08:42:06 +0200 Message-ID: <838t2cgev5.fsf@gnu.org> References: <87wopw8np3.fsf@portable.galex-713.eu> <87lg6cjtr5.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1541140869 25329 195.159.176.226 (2 Nov 2018 06:41:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Nov 2018 06:41:09 +0000 (UTC) Cc: 33232@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 02 07:41:05 2018 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 1gIT8h-0006TT-21 for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Nov 2018 07:41:03 +0100 Original-Received: from localhost ([::1]:49936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gITAn-000151-Do for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Nov 2018 02:43:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gITAg-0000v6-Ia for bug-gnu-emacs@gnu.org; Fri, 02 Nov 2018 02:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gITAc-0006yj-JA for bug-gnu-emacs@gnu.org; Fri, 02 Nov 2018 02:43:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gITAc-0006yf-Fa for bug-gnu-emacs@gnu.org; Fri, 02 Nov 2018 02:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gITAc-0003JT-C3; Fri, 02 Nov 2018 02:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Fri, 02 Nov 2018 06:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33232 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 33232-submit@debbugs.gnu.org id=B33232.154114095412700 (code B ref 33232); Fri, 02 Nov 2018 06:43:02 +0000 Original-Received: (at 33232) by debbugs.gnu.org; 2 Nov 2018 06:42:34 +0000 Original-Received: from localhost ([127.0.0.1]:59201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gITA9-0003Im-Sd for submit@debbugs.gnu.org; Fri, 02 Nov 2018 02:42:34 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43606) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gITA7-0003Ib-QA for 33232@debbugs.gnu.org; Fri, 02 Nov 2018 02:42:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gIT9w-0006kz-Ox for 33232@debbugs.gnu.org; Fri, 02 Nov 2018 02:42:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gIT9w-0006kh-2u; Fri, 02 Nov 2018 02:42:20 -0400 Original-Received: from [176.228.60.248] (port=2083 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gIT9u-0000fk-Ro; Fri, 02 Nov 2018 02:42:20 -0400 In-reply-to: <87lg6cjtr5.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Thu, 01 Nov 2018 15:52:14 -0700) 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:151938 Archived-At: > From: Eric Abrahamsen > Date: Thu, 01 Nov 2018 15:52:14 -0700 > > Someone just reported something similar on the org list, that > `string-width' doesn't return the actual width occupied by the string, > which you'd think would be the whole point. string-width does the best job it can, but you cannot hope to get exact results when using variable-width fonts. What string-width returns should be correct on TTY frames, and only an approximation of GUI frames, when you mix scripts and thus fonts in the same string. For pixel-level accuracy on display, you must use display 'space' and 'align' properties.