View Single Post
Old 02-24-2019, 09:01 AM   #40
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,768
Karma: 206758686
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I've not yet been able to reproduce any huge performance dips on Win 10 or Win 7 (when searching or otherwise), but I can verify that Preview is not displaying SVG wrapped images the same way older versions of Sigil did. The aspect ratio is being preserved but the viewport doesn't seem to be adjusted to display the full whole image height. When docked, you can scroll (this was unnecessary in previous versions). When undocked there is no vertical scrollbar.


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.
DiapDealer is offline   Reply With Quote