# Handwriting Font PDF

> Turn phone photos of handwriting into smooth TTF/OTF fonts and render Markdown notes or assignments into realistic multi-page handwritten PDFs with math, boxed tables, and randomized margins.

Handwriting Font PDF is a free AI agent skill on Agensi by Rick Ghosh, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Rick Ghosh](https://www.agensi.io/creators/rick-ghosh)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-11-30
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/handwriting-font-pdf
- Tags: productivity, python, font-generation, pdf-generation, handwriting, ttf, otf, claude-code

## About this skill

Turn photos of your real handwriting into clean TrueType (.ttf) & OpenType (.otf) fonts and realistic multi-page handwritten PDFs — powered offline by OpenCV SDF smoothing, fontTools, and PyMuPDF.

### What's Included in This Pro Package
- Complete `SKILL.md` runbook + prompt playbook for Claude Code, Antigravity, Cursor, and Codex CLI
- Ready-to-run **Markdown-to-Handwritten PDF CLI** (`markdown_to_handwritten.py`) with 3 built-in styles (`exam`, `notebook`, `compact`) + automatic LaTeX-to-Unicode math (`\frac`, `\boxed`, `\mu`, `\lambda`, tables)
- Declarative **JSON Box-to-Font Compiler CLI** (`build_font_template.py`) + component/slope analyzer (`analyze_sheet.py`)
- Smooth SDF stroke harmonization preserving closed inner loops (`a, b, d, e, g, o, p, q, 0, 8, 9`) with zero missing-glyph black boxes
- Auto-compressed `< 10 MB` A4 PDF export at 220 DPI

## Requires

- Python 3.10+

Run "pip install -r requirements.txt" once in your skill directory. Runs 100% locally offline—no API keys or cloud uploads required.

## Known limitations

Works best on unlined plain white paper with clear ink contrast; faint two-sided bleed-through requires raising --thresh to 75–85. Output PDFs export at 220 DPI. Standard Markdown, LaTeX math, and tables work out of the box; custom block diagrams use pdf_composer.py directly.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Handwriting Font PDF skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What exactly is included in the purchase of this skill?

You get the complete SKILL.md agent runbook, offline Python CLIs for sheet segmentation (analyze_sheet.py), SDF font compilation (build_font_template.py / font_core.py), and Markdown-to-Handwritten PDF conversion (markdown_to_handwritten.py / pdf_composer.py), plus 3 built-in styles (exam, notebook, compact) and prompt playbooks.

### Which character sets and symbols are supported for font generation?

The skill supports standard Latin characters, digits, Greek letters, and common mathematical symbols, making it ideal for technical assignments and scientific notes.

### What specific files are included in the purchase?

You will receive the complete Python source code, including core scripts for sheet analysis, font building, and Markdown-to-PDF rendering, along with the necessary JSON mapping files.

### How does the tool ensure the generated PDFs look like real handwriting?

The tool includes a PDF composition engine that applies randomized margins, variable line density, and subtle writing slopes to ensure the output looks like a natural human document rather than a static font.

### What are the technical requirements to use this skill?

This is a Python-based tool designed for local environments; you will need to install the dependencies listed in the requirements.txt file to run the segmentation and rendering pipelines.

### Can I adjust the sensitivity of the character extraction if my photos have poor lighting?

Yes, the 'analyze_sheet.py' script allows you to tune thresholding parameters to account for different ink colors, paper textures, and potential bleed-through from the back of the page.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
