ol-th / pdf-img-convert.js

Simple node package to convert a PDF into images.
MIT License
161 stars 38 forks source link

feat: create fork to version 1.0.4@beta.0 to solve fonts problems #21

Closed clement-baby closed 2 years ago

clement-baby commented 2 years ago

This commit was made to solve fonts problems with latests versions. When font is not found in latests versions, characters are replaced by random forms. Indeed, this version uses the disableFontFace props of PDF.js to identify any font of PDF file.

It also adds some types to help using this library with typescript.