Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Build a PDF book index

by LanX (Saint)
on Mar 17, 2018 at 11:49 UTC ( [id://1211125]=note: print w/replies, xml ) Need Help??


in reply to Build a PDF book index

Tl;dr, but

>  I've noticed that some characters aren't as expected when extracted: 

PDF allows to embed it's own fonts, and the encoding of characters is sometimes random then.

You can solve it for a specific PDF document only by scanning the affected font number and manually building a translation table into a hash.

HTH! :)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1211125]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found