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: using glyphs by default in perl-mode Date: Wed, 05 Jun 2013 14:52:59 -0400 Message-ID: References: <87bo877kf7.fsf@lifelogs.com> <87obbs7cew.fsf@lifelogs.com> <87ip1y54fx.fsf@lifelogs.com> <87ehck6670.fsf@lifelogs.com> <87a9n854tx.fsf@lifelogs.com> <8761xw54rv.fsf@lifelogs.com> <87sj0y4p7h.fsf@lifelogs.com> <87ppw13aky.fsf@lifelogs.com> <874ndc39bt.fsf@lifelogs.com> <87txlcxyab.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370458390 29191 80.91.229.3 (5 Jun 2013 18:53:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Jun 2013 18:53:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 05 20:53:10 2013 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 1UkIpW-0005IZ-Ka for ged-emacs-devel@m.gmane.org; Wed, 05 Jun 2013 20:53:06 +0200 Original-Received: from localhost ([::1]:60044 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkIpW-0006zd-AG for ged-emacs-devel@m.gmane.org; Wed, 05 Jun 2013 14:53:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkIpS-0006wr-Ai for emacs-devel@gnu.org; Wed, 05 Jun 2013 14:53:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkIpR-0007nD-7Q for emacs-devel@gnu.org; Wed, 05 Jun 2013 14:53:02 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:49963) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkIpR-0007mG-3S for emacs-devel@gnu.org; Wed, 05 Jun 2013 14:53:01 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r55Ir0IO001429; Wed, 5 Jun 2013 14:53:00 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id EAE80B4108; Wed, 5 Jun 2013 14:52:59 -0400 (EDT) In-Reply-To: <87txlcxyab.fsf@lifelogs.com> (Ted Zlatanov's message of "Wed, 05 Jun 2013 13:28:12 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4600=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4600> : streams <974566> : uri <1439317> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:160137 Archived-At: > Of course. I was thinking of a dynamically produced glyph that scales > down to the text size. I think SVG can do something like that, scaling > gracefully. If you want a bigger image, you increase the font size! Scaling is good, but it's difficult to know which size to use. Worse, the same image might need to be displayed at different sizes in different windows, since the same text may be rendered with different font size in different windows. IOW, I think this requires support on the C side, e.g. to specify the image height as a multiple of the line height or as a multiple of the "current font"'s height. Stefan