From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: HTML rendering Date: Sun, 30 Aug 2015 17:51:13 +0300 Message-ID: <83oaho25jy.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1440946293 9379 80.91.229.3 (30 Aug 2015 14:51:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Aug 2015 14:51:33 +0000 (UTC) Cc: yamaoka@jpl.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lars Magne Ingebrigtsen , Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 30 16:51:23 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZW3x0-0007Ey-C2 for ged-emacs-devel@m.gmane.org; Sun, 30 Aug 2015 16:51:18 +0200 Original-Received: from localhost ([::1]:58860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW3x1-0005Hs-O2 for ged-emacs-devel@m.gmane.org; Sun, 30 Aug 2015 10:51:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW3wu-0005Ci-GV for emacs-devel@gnu.org; Sun, 30 Aug 2015 10:51:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZW3wq-00076T-AY for emacs-devel@gnu.org; Sun, 30 Aug 2015 10:51:12 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:45740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZW3wp-00075l-UO for emacs-devel@gnu.org; Sun, 30 Aug 2015 10:51:08 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NTW00800H00KH00@mtaout28.012.net.il> for emacs-devel@gnu.org; Sun, 30 Aug 2015 17:50:57 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NTW005K3H8X4Z40@mtaout28.012.net.il>; Sun, 30 Aug 2015 17:50:57 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189319 Archived-At: > From: Lars Magne Ingebrigtsen > Date: Sun, 30 Aug 2015 13:47:26 +0200 > Cc: Stefan Monnier , emacs-devel@gnu.org > > Katsumi Yamaoka writes: > > > I've set shr-use-fonts to nil unwillingly because mm-shr fills > > Japanese text into lines that are always longer than the window > > width. An example reproducing it is below. > > Your test case was filled correctly on this machine. > > I suspect that there is a bug somewhere in `window-text-pixel-size' for > certain fonts. For instance, it doesn't return the correct width for > the "emdash" character in the font I use on this machine. > > I haven't found time to investigate this yet, so I haven't filed a bug > report. Quite some water went under the bridge since then. See bug#21012. We arrived at a patch there, but it looks like it wasn't committed yet. Michael?