From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Accessing rendered image data Date: Tue, 28 Jun 2016 19:37:52 +0200 Message-ID: References: <83r3bhw7km.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467137409 18245 80.91.229.3 (28 Jun 2016 18:10:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2016 18:10:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 20:09:59 2016 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 1bHxSN-0005LU-Mc for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2016 20:09:55 +0200 Original-Received: from localhost ([::1]:38597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHxSE-0002k8-Bf for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2016 14:09:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHwxY-0005Ub-28 for emacs-devel@gnu.org; Tue, 28 Jun 2016 13:38:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHwxS-0003mz-23 for emacs-devel@gnu.org; Tue, 28 Jun 2016 13:38:03 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:58555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHwxR-0003k2-Rc; Tue, 28 Jun 2016 13:37:57 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.84_2) (envelope-from ) id 1bHwxM-0005WV-AZ; Tue, 28 Jun 2016 19:37:55 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAFVBMVEUxLzADAQIGAwMIBQMM CQoJBgYCAgKYfI0lAAACaElEQVQ4jV2UsXbbMAxFEUXuXPCknEXQ8pyS4e4k0u5K4l755PD/P6EP lOI45WTxCnjAA2SKURw7I8wmBO/nmPOwDMNAMUbm08plZXYeTzGnvFQQ8La1hV1hHwDmGzDMpRSN EREEpVQBHsSVE9DqRDRXylVDHNSLnhoRU9xTCRu2ev/x8fDLSKoheSRVcBVQ117eqkZGyaphfjvc /12obQYFsyISw6ZqHMyZpHsPPqnMrOLmBPAxXLsXOR6y1uUjIpAK5ZYzdedWOhIvAZ1kciZoH+V1 OLat6bpGq1INM6U4B5lOh54OD09vvoKXmgq/5HQlnLZp8DjFCMDMOU9ZjoOSS2MkhATvAWCuY7kc cd/wiEZQsFblDMPBpx8rMr2y8VuLG4Ajgy1Ewx9xbje4prJ8fS3uJ53U3h6vz8tIDupohK080YMx Tvw89SMA7tlLPQpY0hTqoBBhtvsjNTraHPOig2IFcMXDp6YXwSxyXR+LLiSBKPBB8rgDp9p9EB80 VZY9YNPwPsJqgClNc1bpTw3vQ4hHah+Ralk2YLaqosSO6DDnZdyBapgAhxLAOe+JFKy66yjXEz0O wxfgorkw/uczUbqL0PXHOkgcAOY7cFWzGN9CgsS4bE3UVG417or2WgyqzV/A6ravmNoLRnvIN0Lu CgkYH5CqVZBvVSGV1qsR73fAlVVq78//AcEXa9dezHFs6dD3N3fFsrGrtp7OZ6z19AnW4nrLWCKM tqW2F82F/wDSj9JaNR8LptuDhVNG9XstV1sdEKD4DWyHjZrW18LuwaqJJM95+AZYgeQem76D1d4C VGFv8R8NXeMhLBmUwwAAAABJRU5ErkJggg== In-Reply-To: <83r3bhw7km.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Jun 2016 20:23:53 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:204876 Archived-At: Eli Zaretskii writes: >> From: Lars Magne Ingebrigtsen >> Date: Tue, 28 Jun 2016 17:37:23 +0200 >> >> But if I say >> >> (insert (propertize "FOO" 'face (list :font (find-font (font-spec >> :name "futura" :size 40))))) >> FOO >> >> and then say (font-at (point)) on that FOO, I get: >> >> # > > Did you turn off font-lock in that buffer? It's a fundamental mode buffer, so I would hope that there's no font locking... And (insert (propertize "FOO" 'face (list :family "futura"))) gives me something Futura, but not with the font features I want to specify (like size). Either there's something wrong with 'face '(:font ...) somewhere, or I have a syntax error of some kind in my invocation, but it's hard to tell, because the font documentation doesn't really give any relevant examples that I can see... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no