unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pankaj Jangid <pankaj@codeisgreat.org>,
	Lars Ingebrigtsen <larsi@gnus.org>
Cc: 63344@debbugs.gnu.org
Subject: bug#63344: 29.0.90; (shr-zoom-image) doesn't zoom to buffer size
Date: Mon, 08 May 2023 14:34:35 +0300	[thread overview]
Message-ID: <83mt2fcb04.fsf@gnu.org> (raw)
In-Reply-To: <87r0rre7ix.fsf@codeisgreat.org> (message from Pankaj Jangid on Mon, 08 May 2023 10:36:46 +0530)

> From: Pankaj Jangid <pankaj@codeisgreat.org>
> Cc: 63344@debbugs.gnu.org
> Date: Mon, 08 May 2023 10:36:46 +0530
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Thanks.  But what do you understand "full buffer size" to mean for the
> > dimension of an image?
> 
> I understood that "full buffer size" implies "window width" or may be
> "window height" if the aspect ration of image is that way.
> 
> If that is not the case then I have no clue what "full buffer size"
> means.

"Full buffer size" wrt an image is confusing in any case (an Emacs
buffer has no "dimensions"), but my reading of the code is that it is
interpreted as the window dimensions, unless the original size is
smaller than that.  Not sure if I'm right, though.

Adding Lars, who wrote that code, in the hope that he could clarify
this.





  reply	other threads:[~2023-05-08 11:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-07  6:56 bug#63344: 29.0.90; (shr-zoom-image) doesn't zoom to buffer size Pankaj Jangid
2023-05-07  9:26 ` Eli Zaretskii
2023-05-07 12:42   ` Pankaj Jangid
2023-05-07 13:14     ` Eli Zaretskii
2023-05-08  5:06       ` Pankaj Jangid
2023-05-08 11:34         ` Eli Zaretskii [this message]
2024-07-04 19:30           ` Jim Porter

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83mt2fcb04.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=63344@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=pankaj@codeisgreat.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 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).