all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: David Reitter <david.reitter@gmail.com>
Cc: Nathaniel Cunningham <nathaniel.cunningham@gmail.com>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: width of propertized string
Date: Fri, 06 Jun 2008 15:16:54 -0400	[thread overview]
Message-ID: <jwvod6es7c3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <51DA7565-36FD-4700-903B-DE0E41DB34EA@gmail.com> (David Reitter's message of "Fri, 6 Jun 2008 09:40:05 +0100")

>>> Given a propertized string, how would one find out what its (pixel)
>>> dimensions are going to be?
>> Display it, measure its size.
> Tried that (see code below).

I didn't mean it seriously.
We can only do it at the C code level right now, using move_it_to.


        Stefan




  reply	other threads:[~2008-06-06 19:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20ecf6c70806050537k1d343af9r7a05240b5558ea10@mail.gmail.com>
2008-06-05 12:53 ` width of propertized string David Reitter
2008-06-05 19:47   ` Stefan Monnier
2008-06-06  8:40     ` David Reitter
2008-06-06 19:16       ` Stefan Monnier [this message]
2008-06-06 19:03     ` Richard M Stallman

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=jwvod6es7c3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=nathaniel.cunningham@gmail.com \
    /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.