View Single Post
Old 05-24-2018, 04:25 AM   #5
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,625
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by DoctorOhh View Post

Update: I'm curious how any image with a width of 88.0% wouldn't have left and right margins?
Thanks for your example.

To answer your question:
The image is centered.
The display is fixed (this will be a PDF with 9×12 format, fit for my PW3)
No margin is allowed for full-page image display (see code above).

The percentage is calculated according to the shape of the image relative to a 3/4 display. I use for this a -yet- unpublished Sigil plugin.

The end result is that it displays very exactly on this kind of display without any vertical margin. Obviously, due to the shape of the image, a whitespace is automatically left out on both sides (this is the result of the "auto" job). In this particular case, a 6% whitespace will appear on each side. Again, it's the consequence of the undistorted image shape, and is not related to the margins of the document.

Last edited by roger64; 05-24-2018 at 04:40 AM.
roger64 is offline   Reply With Quote