emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `raise' property


From: tomas
Subject: Re: `raise' property
Date: Tue, 14 Sep 2010 20:26:52 +0200
User-agent: Mutt/1.5.15+20070412 (2007-04-11)

-----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?
> 
> 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?
> 
> FWIW, I've had several bug reports from Aquamacs users because of broken 
> 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=9:foundry=unknown:weight=normal:slant=normal:width=normal:spacing=100:scalable=true
              size:  9
            height: 12
   baseline-offset:  0
  relative-compose:  0

HTH
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFMj75sBcgs9XrR2kYRAghnAJ0fuqUl9ffCePHRI600W6j169MhowCbB9wm
jxYVcvenCjtaN1NMbqUo8aM=
=YrP8
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]