1. 12 Sep, 2017 2 commits
  2. 07 Sep, 2017 1 commit
    • Oliver Sander's avatar
      Implement rasterized printing with QPrinter with hidden annotations · 5a716e06
      Oliver Sander authored
      Previously, rasterized printing would use the QPrinter backend whenever
      annotations were to be printed, and fall back to the convert-to-ps
      toolchain otherwise.  Effectively, this meant that printing on
      windows without showing the annotations was not possible (because
      on windows only the QPrinter can be used for printing).
      
      Starting with poppler 0.60, there is a way to disable annotation
      rendering for the renderToImage and renderToPainter methods that
      are used by QPrinter.  This patch makes use of this new option,
      making printing on windows without annotations possible.
      
      Differential Revision: https://phabricator.kde.org/D7688
      5a716e06
  3. 05 Sep, 2017 1 commit
  4. 04 Sep, 2017 2 commits
  5. 01 Sep, 2017 2 commits
  6. 31 Aug, 2017 1 commit
  7. 30 Aug, 2017 4 commits
  8. 29 Aug, 2017 3 commits
  9. 27 Aug, 2017 4 commits
  10. 26 Aug, 2017 3 commits
  11. 25 Aug, 2017 1 commit
  12. 24 Aug, 2017 2 commits
    • Albert Astals Cid's avatar
      Small rework for the markdown converter · 551f0b62
      Albert Astals Cid authored
      Don't have the textdocument and dir as members, pass them along
      This is to make clear that this is a "one off stateless conversion",
      i.e. after convert returns the converter doesn't own the textdocument
      anymore, so better don't keep a pointer to it
      551f0b62
    • Julian Wolff's avatar
      add markdown support · 49313857
      Julian Wolff authored
      Summary:
      Adds support for Markdown documents
      
      BUG: 360603
      
      Test Plan: Open a Markdown (.md) document in Okular
      
      Reviewers: #okular, aacid
      
      Reviewed By: #okular, aacid
      
      Subscribers: michaelweghorn, aacid
      
      Tags: #okular
      
      Differential Revision: https://phabricator.kde.org/D7382
      49313857
  13. 10 Aug, 2017 1 commit
    • Oliver Sander's avatar
      Print via QPrinter when rasterizing and printing annotations · 0c4c2ddb
      Oliver Sander authored
      When the user chooses to print with rasterization and annotations,
      it is easy to print directly to a QPrinter, rather than converting
      to PostScript and then using CUPS tools.  The code for it was
      already there, but it was hidden behind an #ifdef Q_OS_WIN.
      This patch enables it for all plattforms.  If nothing else,
      it will make an interesting debugging tool, because it allows
      to bypass the postscript & CUPS toolchain from the GUI.
      This may allow to track down some of the numerous my-printer-settings-
      are-getting-ignored bugs.
      
      The previously windows-only rasterization code used printer.physicalDpiX()
      as the rasterization resolution.  At least on my machine this resulted
      in a dpi value of 1200, which means quite a lot of memory is used.
      I left the windows code untouched, but on Unix I lowered that value
      to 300dpi, which is what the postscript rasterizer uses.
      
      Incidentally, this patch does fix at least one bug for me:
      Without it, my printer will happily ignore the 'print in grayscale'
      button.  With the patch, that button is suddenly honoured.
      
      REVIEW: 130218
      0c4c2ddb
  14. 08 Aug, 2017 1 commit
  15. 30 Jul, 2017 2 commits
  16. 28 Jul, 2017 3 commits
  17. 20 Jun, 2017 2 commits
  18. 31 May, 2017 4 commits
  19. 21 May, 2017 1 commit