Hi Oliver,
HAHA that is so true with the C++ Standard. It's a complete different
language to describe a programming language.
I found a sample of Leonard book, it looks really good. First he
introduce "Objects" which could be int, arrays, dicts etc. and there is
a class "Object" in the code which implement this :) In C++ 2017 there
is a new class "variant" which does pretty much the same a class Object.
To replace Object with std::variant... that's the kind of fun I'm
talking about :)
Thomas
On 6/17/21 10:13 AM, Oliver Sander wrote:
Hi Thomas,
aller Anfang ist schwer. Stick to it and it will seem easier
after a while. You may want to look at Leonard Rosenthol's
book about pdf, but the standard itself is actually quite
readable (compared to, say, the C++ standard).
Best,
Oliver
On 13.06.21 11:51, [email protected] wrote:
Hello,
I always wonder why it takes so long to display big pictures in PDF
files on linux. So I recompile poppler with release+debug symbols and
use valgrind profile to get an idea what is happening there. As I can
see, 50% of the CPU ticks are used to copy data from A to B. But without
knowing the code, its hard to say if this is good or not.
So I start reading the code. Puh it's hard to understand, so I start
reading the PDF reference too.
As far I can see, there a linearized PDFs and and a table called xref.
Not much for one week of reading ;)
Perhaps I should start from scratch and write my own PDF reader to
understand things better.
If you are interested in, I can inform you about my progress. I'll do
this in my free time, so no hurry.
Thomas H.
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler
_______________________________________________
poppler mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/poppler