> > 2. I would expect that a specified space (space display property for the > 'gap' > > overlays, i.e. the space between the pages) could be smaller than the > default > > 'line-pixel-height`. However, this does not seem possible by just > setting a > > smaller :height for the space display property, as the overlay will > always have > > a minimum height of the default 'line-pixel-height' Here is again my 'second question'. So after when you do `M-x papyrus-demo` (and scroll using the arrows) the 'gaps', which are the gray 'gaps' between the pages, have the height of the default `pixel-line-height`. Setting `papyrus-gap-height` larger will increase the gap size. However, setting `papyrus-gap-height` smaller will not decrease the gap size because it seems that the `line-pixel-height` is the minimum. I would expect the size could be smaller, so my question is why the minimum size is limited to be `line-pixel-height`... On Sat, 16 Apr 2022 at 20:32, Eli Zaretskii wrote: > > From: dalanicolai > > Date: Sat, 16 Apr 2022 20:17:11 +0200 > > Cc: Emacs Devel > > > > Well, for the second question, just do emacs -q, > > then load papyrus.el and do `M-x papyrus-demo`. > > And then do what? look where? for what issues? > > > For the first question pdf-tools is required to be installed, > > I am not sure how to achieve that from emacs -q > > (well besides building the server manually, after installing > > pdf-tools using `list-packages` I guess). > > I don't understand. It is your code that inserts the overlays which > AFAIU give you the problems, right? So I think it should be possible > to construct a simple test case using some image file instead of what > pdf-tools produce. > > > So maybe you could answer/comment on the second question. > > I don't think I understand the situation well enough to answer, sorry. >