Size and position value of text in Fixed layout epub is 20 times of the actual one
i have tried adobe indesign cc 2017, after exporting fixed layout epub, found width, height, position values text 20 times of real vlaue. below html file, has idea , how right one.
*** beginning of code****
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=800,height=600" />
<title>slideshow-1</title>
<link href="css/idgeneratedstyles.css" rel="stylesheet" type="text/css" />
<script src="script/idgeneratedscript.js" type="text/javascript"></script>
</head>
<body id="slideshow-1" onload="registerinteractivehandlers();" lang="en-us" xml:lang="en-us" style="width:800px;height:600px">
....
<div id="_idcontainer007">
<div style="width:6935.96px;height:2540px;position:absolute;top:0px;left:0px;-webkit-transform-origin: 0% 0%; -webkit-transform: translate(25.89px,78.28px) rotate(0deg) scale(0.05);transform-origin: 0% 0%; transform: translate(25.89px,78.28px) rotate(0deg) scale(0.05);">
<p class="basic-paragraph paraoverride-1"><span id="_idtextspan000" class="charoverride-1" style="position:absolute;top:-62.75px;left:0px;letter-spacing:-15.31px;">turkey</span></p>
</div>
</div>
<div id="_idcontainer008" class="basic-text-frame">
<div style="width:5080px;height:460px;position:absolute;top:0px;left:0px;-webkit-transform-origin: 0% 0%; -webkit-transform: translate(3.3px,7.38px) rotate(0deg) scale(0.05);transform-origin: 0% 0%; transform: translate(3.3px,7.38px) rotate(0deg) scale(0.05);">
<p class="basic-paragraph paraoverride-1"><span id="_idtextspan001" class="charoverride-2" style="position:absolute;top:15.2px;left:1224.97px;letter-spacing:69.49px;">anatolia </span><span id="_idtextspan002" class="charoverride-3" style="position:absolute;top:15.2px;left:3663.77px;letter-spacing:54.65px;">tours </span></p>
</div>
</div>
<div id="_idcontainer009" class="basic-text-frame">
<div style="width:3200px;height:540px;position:absolute;top:0px;left:0px;-webkit-transform-origin: 0% 0%; -webkit-transform: translate(0px,5.05px) rotate(0deg) scale(0.05);transform-origin: 0% 0%; transform: translate(0px,5.05px) rotate(0deg) scale(0.05);">
<p class="basic-paragraph paraoverride-1"><span id="_idtextspan003" class="charoverride-4" style="position:absolute;top:20px;left:1084.55px;letter-spacing:88.49px;">travel</span></p>
</div>
</div>
</body>
</html>
********** end of code******
hi michael,
an indication that's 20x scale(0.05) in html code.
indesign emitting size in layout 20 x large original , scaled down 0.05 percent using -webkit-transform show objects in reading app.
i think, that's necessary gain precission on typographical features.
maybe of adobe's developers tell more "why".
since douglas waterfall left indesign developer team, don't know addressed directly.
regards,
uwe
More discussions in InDesign
adobe
Comments
Post a Comment