From b1164db918f2aadecc1d215b00121b14908a4d47 Mon Sep 17 00:00:00 2001 From: Alexander Verbovetsky Date: Thu, 25 Apr 2024 18:50:09 +0900 Subject: python/python3-PyMuPDF: Updated for version 1.24.2. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-PyMuPDF/README | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'python/python3-PyMuPDF/README') diff --git a/python/python3-PyMuPDF/README b/python/python3-PyMuPDF/README index da799f0765..9a35043dd8 100644 --- a/python/python3-PyMuPDF/README +++ b/python/python3-PyMuPDF/README @@ -12,8 +12,13 @@ can also be handled like documents: .png, .jpg, .bmp, .tiff, etc. krop (available on SBo) can use PyMuPDF for both rendering and cropping. -To be on the safe side, keep the version of python3-PyMuPDF in sync with -the mupdf version. +Mupdf is not a dependency because all of the necessary code is built +into PyMuPDF. -Optional autodetected dependencies are python-fonttools, tesseract, and +Optional runtime dependencies are python3-fonttools, tesseract, and python3-pymupdf_fonts. + +To enable Tesseract OCR functions in PyMuPDF, the software must be +installed and the system environment variable TESSDATA_PREFIX must +be defined as follows: +export TESSDATA_PREFIX=/usr/share/tessdata -- cgit v1.2.3