GNU bug report logs - #22172
25.1.50; Wishlist: There should be a way to say to Emacs that is should rescale all images with a certain factor

Previous Next

Package: emacs;

Reported by: Lars Magne Ingebrigtsen <larsi <at> gnus.org>

Date: Mon, 14 Dec 2015 23:01:02 UTC

Severity: wishlist

Tags: fixed

Found in version 25.1.50

Fixed in version 26.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 22172 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 22172 <at> debbugs.gnu.org
Subject: Re: bug#22172: 25.1.50;
 Wishlist: There should be a way to say to Emacs that is should
 rescale all images with a certain factor
Date: Tue, 09 Feb 2016 12:17:37 +1100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

>       ;; If we assume that a typical character is 10 pixels in width,
>       ;; then we should scale all images according to how wide they
>       ;; are.  But don't scale images down.

There's also

(/ (float (display-pixel-width))
   (display-mm-width))

=> 3.78

which might not be available...  Er...  that number surely can't be
right.

(display-mm-width) => 677

This laptop is not almost 70cm wide!  It's a 13" screen, I think, so the
width is like...  30cm?  Something like that.  So perhaps relying on
typical characters is a better idea, anyway.

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




This bug report was last modified 8 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.