| Summary: | [JJ] Okular doesn't follow PageLayout TwoColumnLeft and TwoColumnRight | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | Frédéric COIFFIER <frederic.coiffier> |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | aacid, dbitouze, frederic.coiffier, kde.org, krathul3152, nate, sahilsehgal1995 |
| Priority: | NOR | Keywords: | junior-jobs |
| Version First Reported In: | 0.8.1 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/okular/-/commit/036b037d8ceb521213293ea6765c62037b0616e1 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
TwoColumnLeft layout example
TwoColumnRight layout example |
||
|
Description
Frédéric COIFFIER
2009-03-27 11:13:56 UTC
Never claimed we would follow them, so this is more a wish. The current version of Okular seems to be 0.9.3. Do you plan to implement this feature in near future ? (But, I agree this implementation isn't critic, but just for comfort with some PDF files) Can you please attach a file with such feature so we can test? Created attachment 77951 [details]
TwoColumnLeft layout example
Created attachment 77952 [details]
TwoColumnRight layout example
These two files can be tested with Adobe Reader. Thanks :-) I am confirming this issue for Okular 0.19.2. Also noting that Apple's Preview.app does correctly display each file when View -> Two Pages is selected. Here is some more information: I think this is the related file for loading PDFs https://projects.kde.org/projects/kde/kdegraphics/okular/repository/revisions/master/entry/generators/poppler/generator_pdf.cpp And here is the API reference for Poppler which shows that the Document / PageLayout field can be read by the library. I think the solution to this issue will to be to edit generator_pdf above in the function Okular::DocumentInfo PDFGenerator::generateDocumentInfo( const QSet<Okular::DocumentInfo::Key> &keys ) const The Two Column left is working for me, Click on view menu-> view mode -> facing pages. I am not able to find the two column right option. Is there any specific button naming odd pages left or right for these 2 options? sahil this has nothing to do with what you say, please read the bug again, it clearly specifies this is about a PDF file specifiying how it should be shown, not the user changing anything I am confirming this issue for Okular 1.3.2, at least for TwoPageRight value of PageLayout. I guess it is useless to open a new bug report since hte current one is about okular not following (any) PageLayout PDF specification. A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/1039 Git commit 036b037d8ceb521213293ea6765c62037b0616e1 by Albert Astals Cid, on behalf of Athul Raj Kollareth. Committed on 19/08/2024 at 22:36. Pushed by aacid into branch 'master'. Support pdf Default Page Layout Allow pdf to specify default view mode. M +22 -0 core/document.cpp M +6 -0 core/document_p.h M +10 -0 core/generator.cpp M +26 -0 core/generator.h M +38 -0 generators/poppler/generator_pdf.cpp M +2 -0 generators/poppler/generator_pdf.h https://invent.kde.org/graphics/okular/-/commit/036b037d8ceb521213293ea6765c62037b0616e1 |