Skip to content

A Java tool for modifying character mappings (CMAP) in PDF documents using Apache PDFBox library. This utility allows batch processing of PDF files with custom character replacement patterns.

License

Notifications You must be signed in to change notification settings

YRL-AIDA/cmap_corrupter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF CMap Corrupter

A Java tool for modifying character mappings (CMAP) in PDF documents using Apache PDFBox library. This utility allows batch processing of PDF files with custom character replacement patterns.

Features

  • Batch Processing: Process single PDF files or entire directories
  • Multiple Font Support:
    • Type0 fonts (composite fonts)
    • Type3 fonts (embedded fonts)
    • TrueType fonts with WinAnsi encoding
    • Type1 fonts with WinAnsi encoding
  • Random Character Mapping: Language-independent character replacement
  • Flexible Output: Custom output paths and automatic file naming
  • Recursive Directory Search: Process nested directory structures

Usage

Process Single File

java -jar pdf-cmap-corrupter.jar document.pdf
java -jar pdf-cmap-corrupter.jar document.pdf modified.pdf

About

A Java tool for modifying character mappings (CMAP) in PDF documents using Apache PDFBox library. This utility allows batch processing of PDF files with custom character replacement patterns.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages