unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Image scaling in Info viewer
@ 2015-05-25 15:26 Vaidheeswaran C
  2015-05-25 15:51 ` Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: Vaidheeswaran C @ 2015-05-25 15:26 UTC (permalink / raw)
  To: emacs-devel


Image scaling in Info viewer

I happened to include a screenshot of an Emacs session in a *.info
file and viewed the info using C-u C-h i.  The screenshot seemed
truncated.  (But) Turning on the horizontal scroll bar told me that
the image was only partially displayed and not cropped.  So...

Shouldn't Emacs autoscale the image to fit in to the buffer...WDYT.
The link below (which talks about image scaling) mostly talks about
points and inches (which seem like measurements targetted at paper
medium)

http://www.gnu.org/software/texinfo/manual/texinfo/html_node/Images.html#Images




^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Image scaling in Info viewer
  2015-05-25 15:26 Image scaling in Info viewer Vaidheeswaran C
@ 2015-05-25 15:51 ` Drew Adams
  0 siblings, 0 replies; 2+ messages in thread
From: Drew Adams @ 2015-05-25 15:51 UTC (permalink / raw)
  To: vaidheeswaran.chinnaraju, emacs-devel

> Shouldn't Emacs autoscale the image to fit in to the buffer

What do you mean by "the buffer" here?

It would be good to have the possibility of autoscaling, IMO,
and even autoscaling of one sort or another by default.

It might be better to (by default) autoscale an image to fit
the return value of one of the `window*pixel-width' functions,
rather than the width of the buffer text.  That would mean
that widening or narrowing the window would zoom the image
accordingly.

But it would also be good for this to be controlled by users
(e.g., by option or on the fly somehow).  You might sometimes
want to zoom into the text and image without also widening
the window, etc.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-25 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-25 15:26 Image scaling in Info viewer Vaidheeswaran C
2015-05-25 15:51 ` Drew Adams

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).