D13234: Fix bug with broken pdf export of worksheet

Nikita Sirgienko noreply at phabricator.kde.org
Thu May 31 10:56:16 UTC 2018


sirgienko created this revision.
sirgienko added a reviewer: asemke.
sirgienko added a project: Cantor.
Restricted Application added a project: KDE Edu.
Restricted Application added a subscriber: kde-edu.
sirgienko requested review of this revision.

REVISION SUMMARY
  In `LatexEntry::updateEntry` path to esp file is constructed invalid. This commit fix it. During debuging, it was found, that `EpsRenderer` 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.
  
  BUG: 330834
  FIXED-IN: 18.04.2

TEST PLAN
  1. Create or open worksheet with Latex entries
  2. Export worksheet to pdf.
  3. Check, that latex entries in worksheet not broken
  4. Open the pdf file and check, that the pdf file is not broken and looks good

REPOSITORY
  R55 Cantor

BRANCH
  fix-broken-pdf-export

REVISION DETAIL
  https://phabricator.kde.org/D13234

AFFECTED FILES
  src/epsrenderer.cpp
  src/latexentry.cpp

To: sirgienko, asemke
Cc: kde-edu, asemke, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180531/1a2f3c6c/attachment.html>


More information about the kde-edu mailing list