No resizing with SVG
I'm using a Kobo device and kepub files. I have a new problem with the SVG configuration or else. This following code was working fine until few weeks and I don't understand why it stop operating. Now I don't get the option in the Kobo to resize the SVG image. (I'm using the Tablet output option: no resizing of the original image).
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
...
<style type="text/css">
@page {
margin-bottom: 5pt;
margin-top: 5pt;
}
body {
text-align: center;
padding: 0;
margin: 0;
}
div {
padding: 0;
margin: 0;
}
</style>
</head>
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 864 1228" preserveAspectRatio="XmidYmid">
<image width="864" height="1228" xlink:href="Map.jpg"/>
</svg>
</div>
...
|