From: tomas@tuxteam.de
To: David Reitter <david.reitter@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: `raise' property
Date: Tue, 14 Sep 2010 20:26:52 +0200 [thread overview]
Message-ID: <20100914182652.GB5193@tomas> (raw)
In-Reply-To: <2629C830-798C-4E63-80C0-CEA3103555D0@gmail.com>
-----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-----
prev parent reply other threads:[~2010-09-14 18:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-14 15:12 `raise' property David Reitter
2010-09-14 18:26 ` tomas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100914182652.GB5193@tomas \
--to=tomas@tuxteam.de \
--cc=david.reitter@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).