[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-06 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #27 from Manuel Geißer --- Sure. -- You are receiving this mail because: You are the assignee for the bug.

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-06 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #26 from Oliver Sander --- Can you guys please move the mupdf discussion elsewhere? While it is certainly interesting, it is only tangentially related to this bug. -- You are receiving this mail because: You are the assignee for the bug.

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-06 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #25 from Manuel Geißer --- Created attachment 142205 --> https://bugs.kde.org/attachment.cgi?id=142205=edit (unrelated) okular-mupdf-backend build error -- You are receiving this mail because: You are the assignee for the bug.

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-06 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #24 from Manuel Geißer --- So I installed the dependencies and tried to build okular-mupdf-backend (from git master), but it fails with some "Variable not declared in this scope" error. Also there have been no commits to the repository

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-06 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #23 from Manuel Geißer --- I guess you are referring to https://invent.kde.org/sandsmark/okular-mupdf-backend ? The thing is, there are multiple unofficial Okular MuPDF generators around... Moreover, why is this not officially part of

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-05 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #22 from David Hurka --- No, the muPDF backend is not part of Okular, it is an independent project. Just search for it in the internet for okular-backend-mupdf or okular-mupdf-backend. -- You are receiving this mail because: You are the

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-05 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #21 from Manuel Geißer --- `grep -r mupdf` on the Okular source tree doesn't find anything, either -- You are receiving this mail because: You are the assignee for the bug.

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-10-05 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #20 from Manuel Geißer --- > There is also a muPDF backend for Okular. Did you try that? Is this at all still current? I checked out okular from https://invent.kde.org/graphics/okular.git and built with CMake, but couldn't find any hints on

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-16 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #19 from Manuel Geißer --- > There is also a muPDF backend for Okular. Did you try that? The Ubuntu Focal mupdf package currently fails to open the file (https://bugs.launchpad.net/ubuntu/+source/mupdf/+bug/1943366). This likely is fixed in

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-13 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #18 from Manuel Geißer --- > I think it might be better if the Okular developers would report to Poppler, > since I never used the Poppler library interface myself and thus don't have > the > required background. I now filed an issue at

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-11 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #17 from Manuel Geißer --- > I think you should report at PDFium, pdf.js, Poppler, and pikepdf. I think it might be better if the Okular developers would report to Poppler, since I never used the Poppler library interface myself and thus

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-11 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #16 from Manuel Geißer --- > I think you should report at PDFium, pdf.js, Poppler, and pikepdf. Be careful - there are considerable differences between these libraries. I don't really know about pdf.js and PDFium, but pikepdf is quite

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-11 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #15 from Manuel Geißer --- >From the referenced code we can see that Okular uses the Poppler::Page::pageSizeF() function to obtain the page size:

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-11 Thread David Hurka
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #14 from David Hurka --- (In reply to Oliver Sander from comment #10) > Can you reproduce the problem using one of the poppler command line tools > like pdfinfo or pdftocairo? It may be a poppler bug. `pdfinfo userunit_10.pdf` reports

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-11 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #13 from Manuel Geißer --- Another possibly relevant code passage: https://github.com/KDE/okular/blob/3a513f34b8bbba87bd96718dc96089e079578d55/generators/poppler/generator_pdf.cpp#L1303 -- You are receiving this mail because: You are the

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-11 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #12 from Manuel Geißer --- I've searched a bit in the code, and at least the rendering proportions issue is Okular's fault I think:

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-11 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #11 from Manuel Geißer --- Pdfinfo from poppler-utils does not show regular units like centimetres or inches, but it keeps the PDF points. Pdfinfo is a low-level tool that does not perform unit conversion on its own. However, it does not

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-10 Thread Oliver Sander
https://bugs.kde.org/show_bug.cgi?id=442280 Oliver Sander changed: What|Removed |Added CC||oliver.san...@tu-dresden.de --- Comment #10

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-10 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #9 from Manuel Geißer --- Sorry. I just thought you'd be the maintainer of Okular, and wondered why you are not in the CC list, but apparently this has its reason. Sorry, really. -- You are receiving this mail because: You are the

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-10 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 Manuel Geißer changed: What|Removed |Added CC|aa...@kde.org | -- You are receiving this mail because: You

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-10 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #8 from Albert Astals Cid --- Do *not* add me to bugs. I don't understand what makes you think that is normal behaviour, but it's not, you're only making me ignore you. -- You are receiving this mail because: You are the assignee for the

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-10 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #7 from Manuel Geißer --- Created attachment 141456 --> https://bugs.kde.org/attachment.cgi?id=141456=edit adobe_reader ... only Adobe Reader gets the proportions right -- You are receiving this mail because: You are the assignee for

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-10 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 --- Comment #6 from Manuel Geißer --- List of other affected PDF software: * Chromium integrated PDF viewer (uses PDFium) * Firefox integrated PDF viewer (uses pdf.js) * Inkscape PDF importer (uses Poppler) * Scribus PDF importer * PDFStitcher (uses

[okular] [Bug 442280] Okular does not take /UserUnit into account (page size incorrect for certain files)

2021-09-10 Thread Manuel Geißer
https://bugs.kde.org/show_bug.cgi?id=442280 Manuel Geißer changed: What|Removed |Added Summary|Okular does not take|Okular does not take