From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: HTML-Info design Date: Mon, 29 Dec 2014 17:32:52 +0100 Message-ID: <87tx0ee7rf.fsf@building.gnus.org> References: <871tnr1gqo.fsf@ferrier.me.uk> <83bnmvowdb.fsf@gnu.org> <83ppbanqhe.fsf@gnu.org> <87vbl2xigp.fsf@ferrier.me.uk> <83ioh2nlow.fsf@gnu.org> <87sig6xech.fsf@ferrier.me.uk> <83fvc5ni0u.fsf@gnu.org> <87k31fwwyv.fsf@ferrier.me.uk> <87bnmq9ibf.fsf@ferrier.me.uk> <87lhlrx5fc.fsf@building.gnus.org> <878uhrcr5l.fsf@building.gnus.org> <83sifzjflk.fsf@gnu.org> <87fvbyagaw.fsf@building.gnus.org> <83iogujvbq.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419870814 12508 80.91.229.3 (29 Dec 2014 16:33:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 16:33:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 29 17:33:28 2014 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 1Y5dG0-00014U-7a for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 17:33:24 +0100 Original-Received: from localhost ([::1]:33962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dFz-0006Gs-IJ for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 11:33:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dFv-0006GU-Up for emacs-devel@gnu.org; Mon, 29 Dec 2014 11:33:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5dFs-0007Ko-Ob for emacs-devel@gnu.org; Mon, 29 Dec 2014 11:33:19 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5dFs-0007Kc-Iu; Mon, 29 Dec 2014 11:33:16 -0500 Original-Received: from 46.67.84.60.tmi.telenormobil.no ([46.67.84.60] helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1Y5dFY-0007h7-1r; Mon, 29 Dec 2014 17:32:56 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEVHicja5eT///7///9M jspNjbx0epFilcZimMyrq7YLDQ5BdrExPFpDh8dWlMlWltBDJEBgAAABWElEQVQ4jcXUL27DMBQG cIPSgSQo0C4azS4wENyRBVWKNGKpUunU3aBBm5JIld4FBnKFaheYCnqBsWGPFi17z//mJC0a2Kcq qb+fHYNYYTcXwv4bhBtk+uegjgF4nDb8OuKpSGshLOxWACBXIOVOSsBLYyESQkQi5hEXHP8KPrcg ARpck0I93DyLAHAX4OnDCIRLLILMWbYZ5MneE5btKW8fo7QaJrWFScsMBIXPFcKwnM3yPL9lzMGR yvw3LNFwHLYUDcdJbQAfbEe9Sf6pwU2/632UUgQ0fxHUff+tgXr11U9h2lu4zxdK+e5UVS+0iQZl AUsbA7iAnlUFeSYolYZTCNuNA1UNe4JiAlvzaotyBO6dF3oJHgM/24OVMI8GyhAUFsWy1aAXmXux 1Mdp39pzFeZA8XAI8t51HYIfd2EQurP5M7zKtZQriRnDei0PhARwNsnFL8MPu3QqLeJkL3kAAAAA SUVORK5CYII= X-Now-Playing: burn's _304 (Moon Base Big)_: "Wire!Red_Barked_Tree!01-Please_Take" In-Reply-To: <83iogujvbq.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Dec 2014 18:04:57 +0200") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-MailScanner-ID: 1Y5dFY-0007h7-1r MailScanner-NULL-Check: 1420475576.70603@mNBd5UoxRy/A6JBk1e1ARw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 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:180846 Archived-At: Eli Zaretskii writes: > Fortunately, such a capability already exists, I think: see the > function 'font-get-glyphs'. Does it solve your problem? If not, what > API would you like to have? I've just looked at the doc string of that function briefly, and I'm not sure how I would use that to do filling. I need to know the width a text will take in the buffer, so that I know when to break the line and start a new one. Is it now possible to write a function like `pixel-region-width' that would say how much space the text will occupy? Given that the font used for that text is variable-width (and the region possibly uses many fonts). If that's possible, I'm all for moving eww to use a proportional font by default. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/