emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing rendered image data


From: Lars Magne Ingebrigtsen
Subject: Re: Accessing rendered image data
Date: Tue, 28 Jun 2016 18:46:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Eli Zaretskii <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]