Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve PDF rasterisation safety #1083

Closed
wants to merge 2 commits into from

Commits on Mar 20, 2023

  1. Add missing fallback font to container

    This is required when rasterising certain PDFs.
    When missing GhostScript was outputting a blank page.
    sihil committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    1ce773a View commit details
    Browse the repository at this point in the history
  2. Change options so that GhostScript fails fast

    Without this option GhostScript will ignore errors when rasterising
    pages and cause OCRmyPDF to output corrupted files.
    With this option the error bubbles up and OCRmyPDF will fail.
    sihil committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    d58b91b View commit details
    Browse the repository at this point in the history