From: Eli Zaretskii <eliz@gnu.org>
To: Alp Aker <aker@pitt.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Any objection to adding a unicode footnote style? (encoding fixed)
Date: Mon, 09 May 2011 20:01:40 +0300 [thread overview]
Message-ID: <83hb93iz9n.fsf@gnu.org> (raw)
In-Reply-To: <loom.20110509T183143-460@post.gmane.org>
> From: Alp Aker <aker@pitt.edu>
> Date: Mon, 9 May 2011 16:50:02 +0000 (UTC)
>
> > (put-text-property start (point) 'display '(raise 0.5))
> >
> > Would that work?
>
> You can't test from within Lisp for the availability of that
> display property. The best you can do is check the display type
> and infer from that whether it's available. (E.g.,
> (display-graphic-p) => nil implies that it's not.)
This is supported on any GUI display, do display-graphic-p is up to
the job.
> But that method's not reliable, since the implementation of the
> raise property is inconsistent across ports. (On NextStep, raise
> properties doesn't raise the text; they just increase the overall
> line height.)
AFAIK, what you see on NextStep is how it works on _any_ GUI display.
The implementation is device-independent. Making the digit smaller
(with `height', as I show in my other message) alleviates the effect
on the line height to some degree.
next prev parent reply other threads:[~2011-05-09 17:01 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-08 10:11 Any objection to adding a unicode footnote style? Leo
2011-05-08 14:30 ` Eli Zaretskii
2011-05-08 16:43 ` Leo
2011-05-08 17:14 ` Eli Zaretskii
2011-05-09 4:26 ` Any objection to adding a unicode footnote style? (encoding fixed) Leo
2011-05-09 7:06 ` Eli Zaretskii
2011-05-09 15:39 ` Ted Zlatanov
2011-05-09 16:05 ` Eli Zaretskii
2011-05-09 16:22 ` Ted Zlatanov
2011-05-09 16:50 ` Alp Aker
2011-05-09 17:01 ` Eli Zaretskii [this message]
2011-05-09 17:06 ` Alp Aker
2011-05-09 17:28 ` Eli Zaretskii
2011-05-09 18:10 ` Alp Aker
2011-05-09 18:21 ` Alp Aker
2011-05-09 17:22 ` Alp Aker
2011-05-09 16:55 ` Eli Zaretskii
2011-05-09 17:20 ` Ted Zlatanov
2011-05-09 17:27 ` Leo
2011-05-09 17:50 ` Ted Zlatanov
2011-05-10 5:09 ` Leo
2011-05-10 7:31 ` Eli Zaretskii
2011-05-10 10:53 ` Leo
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83hb93iz9n.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=aker@pitt.edu \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.