diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-03-20 12:22:05 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-03-20 12:22:05 -0400 |
commit | 5ac1e95bd602a7bbd50274d26fb7c4ce9ec8edd8 (patch) | |
tree | c8d51c4c2a0e0ad47fd78d7ffe0b879198d0a73e /src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | |
parent | Fixed highlighting on rotated pages and replaced tabs with spaces (diff) | |
download | lumina-5ac1e95bd602a7bbd50274d26fb7c4ce9ec8edd8.tar.gz lumina-5ac1e95bd602a7bbd50274d26fb7c4ce9ec8edd8.tar.bz2 lumina-5ac1e95bd602a7bbd50274d26fb7c4ce9ec8edd8.zip |
Disabled Properties, Find, and Bookmarks for Poppler but enabled by default for MuPDF
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp index 62548f78..439fd804 100644 --- a/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp +++ b/src-qt5/desktop-utils/lumina-pdf/Renderer-poppler.cpp @@ -107,7 +107,7 @@ QList<TextData*> Renderer::searchDocument(QString text, bool matchCase){ for(int j = 0; j < textList.size(); j++) { if(textList[j]->text().contains(text, (matchCase) ? Qt::CaseSensitive : Qt::CaseInsensitive)) { - TextData *t = new TextData(textList[j]->boundingBox(), i+1, text, degrees); + TextData *t = new TextData(textList[j]->boundingBox(), i+1, text); results.append(t); } } @@ -126,3 +126,5 @@ int Renderer::hashSize() { void Renderer::clearHash() { loadingHash.clear(); } + +bool Renderer::supportsExtraFeatures() { return false; } |