Sign inSign up

pdfix/font-fix-pdfix

By pdfix

Updated about 1 month ago

Image
0

2.2K

pdfix/font-fix-pdfix repository overview

Font Fix (PDFix)

Fixes font issues where Unicode is missing for glyphs using OCR and the PDFix SDK. Requires a PDFix Desktop license to run.

Table of Contents

Getting started

You need Docker installed. The first run downloads the image and may take longer than later runs.

Usage

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]

Commands

  • fix-missing-unicode: Repair missing Unicode mappings in embedded fonts (PDF → PDF)

Arguments

fix-missing-unicode
OptionRequiredType / expected valueDescription
--input, -iyesPath to an existing .pdf fileInput PDF
--output, -oyesPath for the output .pdf fileOutput PDF
--namenoString (PDFix account license name)PDFix license name
--keynoString (PDFix account license key)PDFix license key
--enginenoOne of: Tesseract, Easy, Rapid (default: Tesseract)OCR engine
--default_charnoSingle character string (default: space)Character when OCR fails

Examples

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 "?"

Help & support

For PDFix SDK licensing or issues, contact [email protected].

Licenses

Trial versions of the PDFix SDK may apply watermarks and redact random content in the output PDF.

Tag summary

Content type

Image

Digest

sha256:dfe20be9f

Size

3.6 GB

Last updated

about 1 month ago

docker pull pdfix/font-fix-pdfix