View Single Post
Old 02-24-2019, 03:00 PM   #47
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 36,715
Karma: 146615422
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Turtle91 View Post
A different issue...which is most likely a QT problem... The preview pane no longer properly constrains an SVG wrapped image.

The below code normally centers the image in the window and maximizes the image while keeping the proper aspect ratio. It no worky anymore...:
Code:
  
<div style="margin:0; padding:0">
    <svg 
		xmlns="http://www.w3.org/2000/svg" 
		height="100%" width="100%" 
		preserveAspectRatio="xMidYMid meet" version="1.1" 
		viewBox="0 0 885 1416" 
		xmlns:xlink="http://www.w3.org/1999/xlink">
        <image width="885" height="1416" xlink:href="../Images/cover.jpg"/>
    </svg>
  </div>

...and by no worky I mean it seems to clip the image when I adjust the dimensions of the undocked preview pane.
I've noticed the same when looking at an full-screen SVG image in BookView. The image used to fit inside the window while now it fits the window horizontally and I have to use the vertical scroll to scroll through the entire image.

Last edited by DNSB; 02-24-2019 at 03:03 PM. Reason: How many ways can you spell 'the'?
DNSB is offline   Reply With Quote