duncantl / Rtesseract

Interface to tesseract OCR system.
12 stars 4 forks source link

toPDF() requires gc() call #6

Closed mespe closed 7 years ago

mespe commented 7 years ago

Creating a pdf using toPDF() results in a "damaged pdf" file unless the call to toPDF() is followed by gc().

dsidavis commented 7 years ago

Fix pushed. Need to remove renderer() in the function before calling gc(). If the user creates the renderer separately, she will have to call gc() after it goes out of scope.

mespe commented 7 years ago

Confirmed fixed.