From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Pixel-based display functions Date: Wed, 18 Feb 2015 00:53:15 -0500 Message-ID: References: <874mqzvnwo.fsf@building.gnus.org> <83h9uzeb4a.fsf@gnu.org> <87bnl7jrr7.fsf@building.gnus.org> <831tm3dt8u.fsf@gnu.org> <87k2zvgj4d.fsf@building.gnus.org> <83siejcahb.fsf@gnu.org> <83sieiar6i.fsf@gnu.org> <83oap5c480.fsf@gnu.org> <87d25lc3xu.fsf@building.gnus.org> <877fvtc2qj.fsf@building.gnus.org> <83wq3s9rmr.fsf@gnu.org> <878ug72064.fsf@building.gnus.org> <838ug79h3x.fsf@gnu.org> <87egpytlrk.fsf@building.gnus.org> <83d25h938i.fsf@gnu.org> <87r3txqajk.fsf@building.gnus.org> <83bnl078jr.fsf@gnu.org> <87r3toaugq.fsf@building.gnus.org> <83ioez6fxy.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1424238832 24436 80.91.229.3 (18 Feb 2015 05:53:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Feb 2015 05:53:52 +0000 (UTC) Cc: rudalics@gmx.at, Lars Ingebrigtsen , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 18 06:53:43 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 1YNxZu-0006c8-Il for ged-emacs-devel@m.gmane.org; Wed, 18 Feb 2015 06:53:42 +0100 Original-Received: from localhost ([::1]:48967 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNxZu-0007uk-4t for ged-emacs-devel@m.gmane.org; Wed, 18 Feb 2015 00:53:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNxZr-0007ub-GA for emacs-devel@gnu.org; Wed, 18 Feb 2015 00:53:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNxZq-0004jH-EB for emacs-devel@gnu.org; Wed, 18 Feb 2015 00:53:39 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:59575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNxZl-0004iM-Vy; Wed, 18 Feb 2015 00:53:34 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AroTAPOG1lTO+LI//2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIxALNBIUGA0kiDgIziMBAQEBBgEBAQEej3gHhCoFiiefS4FFIoQMIIJzAQEB X-IPAS-Result: AroTAPOG1lTO+LI//2dsb2JhbABbgwaDX4VTwGUEAgKBDUQBAQEBAQF8hA0BBAFWIxALNBIUGA0kiDgIziMBAQEBBgEBAQEej3gHhCoFiiefS4FFIoQMIIJzAQEB X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="110787727" Original-Received: from 206-248-178-63.dsl.teksavvy.com (HELO pastel.home) ([206.248.178.63]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Feb 2015 00:53:33 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id C63B334C9; Wed, 18 Feb 2015 00:53:15 -0500 (EST) In-Reply-To: <83ioez6fxy.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Feb 2015 05:45:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:183233 Archived-At: >> The line longest in characters doesn't really say much about what line >> is longest in pixels. > I beg to differ. They are correlated but I agree with Lars that the correlation is not strong enough that one can simply take the longest-line-in-chars, measure it, and expect the result to be the longer in pixel than all other lines. A long line of "llllllll" can be significantly shorter in pixels than a slightly-less-long line of "mmmmmmm" if you use something like Helvetica. And a long line of "mmmmm" can be significantly shorter than a much shorter line of "lllll" if the line of "lllll" uses a much larger face or has an embedded after-string, or ... Stefan