# This font makes every LLM token exactly the same width

Original title: Generate fonts where every LLM token is the same width

> Hacker News story 49851883 · language: en · submitted 2026-09-26
> Web version: https://zeli.app/story/49851883
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 93 · by [z-mach9](<https://news.ycombinator.com/user?id=z-mach9>) · 💬 23
[original](<https://ampdot.mesh.host/token-space-fonts.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49851883>)

## Summary

A browser-based compiler turns any TTF, OTF, WOFF, or WOFF2 font plus a tokenizer into a token-space font where each token is 3 em wide. The output is a single TTF with the tokenizer baked into its shaping rules, so no script is needed to display it. It works with DeepSeek V4.1 Flash's byte-level BPE and includes presets for Discord and Slack, though some tokenizers like GLM-5.3 and Claude's ctok remain approximations.

## Key quote

> If you have more expertise in how fonts work, I encourage you to implement this project properly.

## HN discussion (23 comments)

### [nxtfari](<https://news.ycombinator.com/item?id=49856889>)

> Haha this did help me generate empathy for the assistant. Neat idea.

### [dTal](<https://news.ycombinator.com/item?id=49856644>)

> This page reliably hangs Firefox 155 at 100% CPU for me.

### [LoganDark](<https://news.ycombinator.com/item?id=49856082>)

> The kerning is absolutely awful in Safari. Looks fine in Chrome though...

---

## Cite

- Page: https://zeli.app/story/49851883
- Date: 2026-09-26
- Source: ampdot.mesh.host (https://ampdot.mesh.host/token-space-fonts.html)
- Hacker News: https://news.ycombinator.com/item?id=49851883

## Other languages

- zh: https://zeli.app/zh/story/49851883 · markdown: https://zeli.app/zh/story/49851883.md
- ja: https://zeli.app/ja/story/49851883 · markdown: https://zeli.app/ja/story/49851883.md
- ko: https://zeli.app/ko/story/49851883 · markdown: https://zeli.app/ko/story/49851883.md
- de: https://zeli.app/de/story/49851883 · markdown: https://zeli.app/de/story/49851883.md
- es: https://zeli.app/es/story/49851883 · markdown: https://zeli.app/es/story/49851883.md
- ru: https://zeli.app/ru/story/49851883 · markdown: https://zeli.app/ru/story/49851883.md
