Fixes font issues where Unicode is missing for glyphs using OCR and the PDFix SDK. Requires a PDFix Desktop license to run.
You need Docker installed. The first run downloads the image and may take longer than later runs.
Mount a folder into the container and run a subcommand:
docker run --rm -v "$(pwd)":/data -w /data pdfix/font-fix-pdfix:v1.0.10 <command> [options]
fix-missing-unicode: Repair missing Unicode mappings in embedded fonts (PDF → PDF)fix-missing-unicode| Option | Required | Type / expected value | Description |
|---|---|---|---|
--input, -i | yes | Path to an existing .pdf file | Input PDF |
--output, -o | yes | Path for the output .pdf file | Output PDF |
--name | no | String (PDFix account license name) | PDFix license name |
--key | no | String (PDFix account license key) | PDFix license key |
--engine | no | One of: Tesseract, Easy, Rapid (default: Tesseract) | OCR engine |
--default_char | no | Single character string (default: space) | Character when OCR fails |
Fix missing Unicode mappings (license recommended to avoid watermarks):
docker run --rm -v "$(pwd)":/data -w /data pdfix/font-fix-pdfix:v1.0.10 \
fix-missing-unicode --name "${LICENSE_NAME}" --key "${LICENSE_KEY}" \
-i /data/input.pdf -o /data/output.pdf
Use a different OCR engine and fallback character:
docker run --rm -v "$(pwd)":/data -w /data pdfix/font-fix-pdfix:v1.0.10 \
fix-missing-unicode -i /data/input.pdf -o /data/output.pdf \
--engine Easy --default_char "?"
For PDFix SDK licensing or issues, contact [email protected].
Trial versions of the PDFix SDK may apply watermarks and redact random content in the output PDF.
Content type
Image
Digest
sha256:dfe20be9f…
Size
3.6 GB
Last updated
about 1 month ago
docker pull pdfix/font-fix-pdfix