all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Accessing rendered image data
Date: Tue, 28 Jun 2016 18:46:52 +0200	[thread overview]
Message-ID: <m3por19s77.fsf@gnus.org> (raw)
In-Reply-To: <83wpl9w9rw.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 28 Jun 2016 19:36:19 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> The reason I'm asking is because I'm trying to asses the width of
>> rendered text in an SVG image, but perhaps I can just render the text
>> normally in Emacs.
>
> I don't understand what that means.  You can obtain the size of an SVG
> image by using image-size.  Text that is part of an image is not
> accessible to Emacs, AFAIK, so what exactly did you have in mind?

I'm trying to find the width of the text rendered inside the SVG.

>> However, I can't make head or tails or the "advanced" face/font stuff in
>> the manual.
>
> Why font is relevant to the size of the text?  Does
> window-text-pixel-size do what you want?

See the other mail about `face (:font ...)' apparently not working.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  reply	other threads:[~2016-06-28 16:46 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28 13:52 Accessing rendered image data Lars Magne Ingebrigtsen
2016-06-28 15:37 ` Lars Magne Ingebrigtsen
2016-06-28 16:36   ` Eli Zaretskii
2016-06-28 16:46     ` Lars Magne Ingebrigtsen [this message]
2016-06-28 17:23   ` Eli Zaretskii
2016-06-28 17:37     ` Lars Magne Ingebrigtsen
2016-06-28 18:10       ` Eli Zaretskii
2016-06-28 18:15         ` Lars Magne Ingebrigtsen
2016-06-28 18:21           ` Eli Zaretskii
2016-06-28 18:29             ` Lars Magne Ingebrigtsen
2016-06-28 18:48               ` Eli Zaretskii
2016-06-28 18:58                 ` Lars Magne Ingebrigtsen
2016-06-28 19:06                   ` Lars Magne Ingebrigtsen
2016-06-28 19:38                     ` Lars Magne Ingebrigtsen
2016-06-28 20:17                       ` Lars Magne Ingebrigtsen
2016-06-28 20:26                         ` Robert Weiner
2016-06-30 15:08                       ` Eli Zaretskii
2016-06-30 15:12               ` Ted Zlatanov
2016-06-30 15:38                 ` Lars Magne Ingebrigtsen
2016-06-30 16:11                   ` Ted Zlatanov
2016-06-28 18:35             ` Lars Magne Ingebrigtsen
2016-06-28 18:51               ` Eli Zaretskii
2016-06-28 16:25 ` Eli Zaretskii
2016-06-28 16:30   ` Lars Magne Ingebrigtsen
2016-06-28 17:03     ` Eli Zaretskii

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=m3por19s77.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=eliz@gnu.org \
    --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.