What problem does it solve? Flattened or scanned PDF forms have no interactive fields, so standard PDF text insertion tools miss field positions and produce misaligned output. This Skill renders pages at high resolution, locates blanks via OCR, and composites text at exact pixel positions. ## Core Features & Use Cases - OCR-Anchored Positioning: Uses pytesseract bounding boxes to find anchor labels and detect blank spaces on the same line for precise placement. - Pixel-Space Compositing: Renders pages at 4x resolution and draws text or checkbox marks with PIL, avoiding PDF coordinate system errors. - Auto Font Sizing: Automatically scales text to fit the detected blank width, with manual coordinate overrides for small or noisy fields. - Use Case: Fill a scanned government or legal form by supplying a JSON list of fields with anchor labels and values, producing a completed PDF ready for submission. ## Quick Start Fill the attached scanned form 'application.pdf' by running the pdf_form_filler.py script with a JSON file defining each field's anchor text and value.