GNU bug report logs - #38176
27.0.50; pdf-tools images do not display

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <ofv <at> wanadoo.es>

Date: Tue, 12 Nov 2019 06:20:01 UTC

Severity: normal

Found in version 27.0.50

Done: Óscar Fuentes <ofv <at> wanadoo.es>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: ofv <at> wanadoo.es, 38176 <at> debbugs.gnu.org
Subject: Re: bug#38176: 27.0.50; pdf-tools images do not display
Date: Sun, 17 Nov 2019 19:54:44 +0100
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Lars Ingebrigtsen <larsi <at> gnus.org>
>> Date: Sun, 17 Nov 2019 19:25:34 +0100
>> Cc: 38176 <at> debbugs.gnu.org
>> 
>>         (when (or (= (window-vscroll) (image-scroll-up arg))
>> 
>> It's comparing the output of window-vscroll (which returns the position
>> in number-of-lines, not pixels) with the return value of
>> image-scroll-up, which returns a value in pixels.  It's not documented
>> at all what the latter function is supposed to return, so it looks like
>> a bug to me that pdf-tools relies on it.
>
> This was supposed to be fixed already, see bug#37578.

Hm...  That and the related bug#37874 fixes the problem in doc-view that
the change in image-mode caused, if I read this correctly.  But the
problem here was with the out-of-tree pdf-tools package, which
apparently needs the same fixes that doc-view got.

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




This bug report was last modified 5 years and 192 days ago.

Previous Next


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