* `raise' property
@ 2010-09-14 15:12 David Reitter
2010-09-14 18:26 ` tomas
0 siblings, 1 reply; 2+ messages in thread
From: David Reitter @ 2010-09-14 15:12 UTC (permalink / raw)
To: Emacs-Devel devel
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).
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: `raise' property
2010-09-14 15:12 `raise' property David Reitter
@ 2010-09-14 18:26 ` tomas
0 siblings, 0 replies; 2+ messages in thread
From: tomas @ 2010-09-14 18:26 UTC (permalink / raw)
To: David Reitter; +Cc: Emacs-Devel devel
-----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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-14 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-14 15:12 `raise' property David Reitter
2010-09-14 18:26 ` tomas
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).