From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: `raise' property Date: Tue, 14 Sep 2010 20:26:52 +0200 Message-ID: <20100914182652.GB5193@tomas> References: <2629C830-798C-4E63-80C0-CEA3103555D0@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1284488733 25602 80.91.229.12 (14 Sep 2010 18:25:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Sep 2010 18:25:33 +0000 (UTC) Cc: Emacs-Devel devel To: David Reitter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 14 20:25:31 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OvaC7-00074m-7k for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2010 20:25:27 +0200 Original-Received: from localhost ([127.0.0.1]:53416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvaC6-0005ez-D8 for ged-emacs-devel@m.gmane.org; Tue, 14 Sep 2010 14:25:26 -0400 Original-Received: from [140.186.70.92] (port=56805 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OvaAt-0005GW-JD for emacs-devel@gnu.org; Tue, 14 Sep 2010 14:24:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OvaAs-00057P-CO for emacs-devel@gnu.org; Tue, 14 Sep 2010 14:24:11 -0400 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:42470 helo=www.elogos.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OvaAs-000578-5t for emacs-devel@gnu.org; Tue, 14 Sep 2010 14:24:10 -0400 Original-Received: by www.elogos.de (Postfix, from userid 1000) id 498F2900D2; Tue, 14 Sep 2010 20:26:52 +0200 (CEST) Content-Disposition: inline In-Reply-To: <2629C830-798C-4E63-80C0-CEA3103555D0@gmail.com> User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130141 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Sep 14, 2010 at 11:12:35AM -0400, David Reitter wrote: > Could someone check if the `raise' text display property works properly= on X11? >=20 > On NS, it is not in 23/24, and I'm having a hard time seeing how xdisp.= c handles this. take_vertical_position_into_account() sets it->ascent / = it->descent, but I don't understand how it ends up in a glyph string's "y= ", or how else the vertical position defined by ascent is set. Does the = font driver have to do something with it? >=20 > FWIW, I've had several bug reports from Aquamacs users because of broke= n super/subscripts in LaTeX (AUCTeX). > This: (set-text-properties (region-beginning) (region-end) '(display (= raise 0.3))) does not change the appearance of text (it works in Carbon = Emacs 22). Works for me (GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.12.12)), on Debian GNU/Linux Lenny. That's what describe-font says: name (opened by): -unknown-DejaVu Sans Mono-normal-normal-normal-*-9-*-*-*-m-0-iso10646-1 full name: DejaVu Sans Mono:pixelsize=3D9:foundry=3Dunknown:weight=3Dnormal:slant=3Dnormal:wid= th=3Dnormal:spacing=3D100:scalable=3Dtrue size: 9 height: 12 baseline-offset: 0 relative-compose: 0 HTH - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFMj75sBcgs9XrR2kYRAghnAJ0fuqUl9ffCePHRI600W6j169MhowCbB9wm jxYVcvenCjtaN1NMbqUo8aM=3D =3DYrP8 -----END PGP SIGNATURE-----