<table><tr><td style="">sirgienko created this revision.<br />sirgienko added a reviewer: asemke.<br />sirgienko added a project: Cantor.<br />Restricted Application added a project: KDE Edu.<br />Restricted Application added a subscriber: kde-edu.<br />sirgienko requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D13234">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In <tt style="background: #ebebeb; font-size: 13px;">LatexEntry::updateEntry</tt> path to esp file is constructed invalid. This commit fix it. During debuging, it was found, that <tt style="background: #ebebeb; font-size: 13px;">EpsRenderer</tt> don't check, that input is valid, at all. So, the commit also add checking, that input file is valid eps file, and warning message printing, if it is not true.</p>

<p>BUG: 330834<br />
FIXED-IN: 18.04.2</p></div></div><br /><div><strong>TEST PLAN</strong><div><ol class="remarkup-list">
<li class="remarkup-list-item">Create or open worksheet with Latex entries</li>
<li class="remarkup-list-item">Export worksheet to pdf.</li>
<li class="remarkup-list-item">Check, that latex entries in worksheet not broken</li>
<li class="remarkup-list-item">Open the pdf file and check, that the pdf file is not broken and looks good</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R55 Cantor</div></div></div><br /><div><strong>BRANCH</strong><div><div>fix-broken-pdf-export</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D13234">https://phabricator.kde.org/D13234</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/epsrenderer.cpp<br />
src/latexentry.cpp</div></div></div><br /><div><strong>To: </strong>sirgienko, asemke<br /><strong>Cc: </strong>kde-edu, asemke, narvaez, apol<br /></div>