HandwritingAgent: Language-Driven Handwriting Synthesis in Scalable Vector Space

Jaward Sesay, Yue Yu, Börje F. Karlsson
6/17/2026
cs.CVcs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Teaching machines to emulate natural handwriting styles remains an open challenge, as it requires synthesizing stroke sequences that dynamically vary in shape, texture, pressure and script - not only across individuals, but also within a single person's handwriting. Attempts at this challenge have largely explored deep learning methods in both online and offline settings. However, these approaches are often constrained by style-specific architectural choices, heavy reliance on large datasets, high compute costs, and a lack of flexible control over writing styles through natural language. To this end, we introduce HandwritingAgent, a language-driven agent that can synthesize natural handwriting sequences directly in Scalable Vector Graphics (SVG) format with no need for style-specific training. The agent leverages a large reasoning model to geometrically analyse and autoregressively generate target handwritten glyphs as stroke sequences in a discrete grid canvas environment. Generation is conditioned on texts provided in either conversational or non-conversational mode, along with a reference handwriting-style image. Experiments on diverse handwriting tasks spanning imitation, recognition, multi-lingual handwriting synthesis, and generation of complex handwritten maths and science expressions indicate substantial improvement in performance, with HandwritingAgent matching or surpassing state-of-the-art generative handwriting models, while providing a more efficient, controllable, and generalizable synthesis method.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sesay2026handwritingagent,
  title  = {HandwritingAgent: Language-Driven Handwriting Synthesis in Scalable Vector Space},
  author = {Jaward Sesay and Yue Yu and Börje F. Karlsson},
  year   = {2026},
  eprint = {2606.18788},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.18788v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.18788.svg)](https://codeofpaper.com/paper/2606.18788)

Discussion