tlhunter / node-docs-pdf

Generate PDF docs from online Node.js documentation

Home Page:https://thomashunter.name/nodejs-documentation-pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDFs aren't text

tlhunter opened this issue · comments

Only some of the text in the PDFs are actually "text". I believe the rest of it is being converted into vector paths. This has two very important consequences:

  1. File size is a few hundred MBs
  2. File content cannot be searched

It's also inconsistent. I suspect it has something to do with a combination of the fonts being used in the document and the fonts installed on the machine (aka my laptop) when the generation occurs. Judging from what text I can select, only the monospace font is embedded as text.

20191219235650