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.
- 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
java -jar pdf-cmap-corrupter.jar document.pdf
java -jar pdf-cmap-corrupter.jar document.pdf modified.pdf