[poppler] Reading code for FUN

Oliver Sander oliver.sander at tu-dresden.de
Thu Jun 17 08:13:39 UTC 2021


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, thomas.huxhorn at web.de 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
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5198 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20210617/9931381b/attachment.bin>


More information about the poppler mailing list