Skip to main content
ExplainerAdversarial TypographyExplainer· 4 min read· in Culture

How Adversarial Fonts Use Glyph Substitution to Poison AI Training Data

Designers and computer scientists are deploying a new generation of adversarial fonts that serve pristine text to human readers while feeding grammatical gibberish to AI scrapers. The tools offer publishers a powerful new defense against unauthorized data harvesting, but they risk breaking web accessibility in the process.

By Tara Reddy

Independent Publishers 40%AI Data Engineers 30%Web Accessibility Advocates 30%
Independent Publishers
Advocates for using adversarial typography to protect copyrighted text from unauthorized AI scraping.
AI Data Engineers
Views adversarial typography as a temporary speed bump that will drive more sophisticated scraping techniques.
Web Accessibility Advocates
Warns that code-level text scrambling destroys the internet for visually impaired users.

Perspectives this story doesn't cover

  • Search Engine Indexers
  • Copyright Lawyers

Why it matters

As AI companies increasingly ignore polite requests to stop scraping the open web, adversarial typography gives independent publishers a technical weapon to actively defend their copyrighted work. However, this escalating arms race threatens to break core internet infrastructure, forcing site owners to choose between protecting their data and keeping their content accessible to visually impaired readers.

The publishers and independent writers who host the internet's text now hold the power to decide what enters an artificial intelligence training dataset. Using a new generation of adversarial typography, they are able to serve human readers a pristine page while feeding automated scrapers grammatical gibberish—a defense mechanism they can deploy the next time they update their site's stylesheet.[1]

For years, the standard method of keeping automated bots away from a website was the robots.txt file, a polite request that scrapers ignore specific pages. But as the demand for training data has surged, many AI developers have simply bypassed those requests, pulling raw HTML from the open web regardless of the publisher's wishes.[4]

In response, designers and computer scientists have begun engineering fonts that actively deceive the machines reading them. These tools do not rely on asking for permission; instead, they exploit the mechanical differences between how a human eye perceives a rendered letter and how a scraper parses underlying code.[1][4]

One of the most prominent new tools is ShieldFont, released in July 2026 by the Brazilian creative studio Seneda & Abrucio and the Copenhagen-based type foundry PlayType. ShieldFont operates at the code level, scrambling the text before it ever reaches the screen.[1]

ShieldFont swaps content words in the source code while maintaining the grammatical structure.

The mechanism relies on OpenType glyph substitution, a feature normally used to swap characters for aesthetic reasons, like creating a ligature between two letters. ShieldFont hijacks this process to swap entire words. In the raw HTML—the layer that most mass scrapers ingest—roughly 50 percent of all content words are replaced with random alternatives.[1][4]

The mechanism relies on OpenType glyph substitution, a feature normally used to swap characters for aesthetic reasons, like creating a ligature between two letters.

To ensure the resulting text still looks like valid data to a scraper, the substitutions are strictly categorized. Nouns are swapped for nouns, and past-tense verbs for past-tense verbs, drawing from 250 distinct grammatical pools. A single sentence that should read "The knight rode his horse" might appear in the code as "The knight rode his engine."[1][4]

Because the grammar remains intact, the scraper ingests the sentence. But because the meaning is destroyed, the data is poisoned. According to the font's creators, more than 90 percent of the resulting gibberish is eventually rejected by the AI developers' own quality filters, wasting their computational resources across millions of pages.[1]

While ShieldFont attacks the code, other adversarial fonts attack the optical layer itself. Decoy Font, created by the platform MixFont, uses a technique called hybrid imaging to hide messages in plain sight.[1]

Decoy Font uses hybrid imaging to present different letters depending on the spatial frequency.

Hybrid imaging relies on spatial frequencies—the same optical illusion that allows a single picture to look like Albert Einstein from up close and Marilyn Monroe from a distance. "The camouflaging technique is a modern-day version of an optical illusion known as hybrid imaging," writes Christian Thorsberg, a correspondent for Smithsonian Magazine, noting the technique was originally pioneered by MIT researchers in 2007.[1]

Decoy Font applies this to typography, layering a crisp foreground letter over a dark, blurred background letter. "It offers human writers the chance to create cheeky juxtapositional messages, hiding the blurred 'Happy Human,' for example, behind a crisp 'Sorry Robot,'" Thorsberg notes. When an AI optical character recognition system scans an image of the text, it struggles to separate the two distinct layers, often reading the blurred background instead.[1]

These adversarial tactics are part of a broader academic push to humanize text and evade automated detection. In a June 2025 study, researchers demonstrated that adversarial paraphrasing—using one AI model to rewrite text specifically to bypass another model's detector—could reduce true positive detection rates by 87.88 percent across diverse systems. This builds on earlier work, such as the 2021 Adversarial Paraphrasing Task, which trained models to identify semantically equivalent but syntactically disparate sentences. The underlying principle is the same: exploiting the rigid, predictable ways that machines process language.[2][3][4]

Code-level text scrambling inadvertently breaks web accessibility for users relying on screen readers.

However, adversarial typography introduces significant collateral damage. Because ShieldFont alters the underlying HTML, screen readers used by visually impaired humans will read the poisoned, gibberish text aloud. Until developers find a way to distinguish between an accessibility tool and an AI scraper, publishers must choose between protecting their data and maintaining an accessible web.[4]

What to know

  1. A new generation of adversarial fonts allows web publishers to hide their text from automated AI scrapers while keeping it legible for human readers.
  2. Tools like ShieldFont use OpenType glyph substitution to swap roughly 50 percent of content words in the HTML code with grammatical gibberish.
  3. Decoy Font relies on hybrid imaging, an optical illusion that layers a crisp foreground message over a blurred background to confuse optical character recognition.
  4. While these fonts successfully poison unauthorized training data, code-level scrambling inadvertently breaks web accessibility for visually impaired users relying on screen readers.

Key terms

Adversarial Typography
The practice of designing text and fonts specifically to deceive or confuse automated computer systems while remaining legible to humans.
OpenType Glyph Substitution
A typographic feature that automatically replaces one or more typed characters with alternate designs, hijacked by adversarial fonts to swap entire words.
Hybrid Imaging
An optical illusion that combines two different images at different spatial frequencies, causing the viewer to see one image from up close and another from a distance.
Web Scraping
The automated process of extracting large amounts of data from websites, commonly used by tech companies to build training datasets for artificial intelligence models.

Reader questions

What is an adversarial font?

An adversarial font is a typeface designed to be easily readable by humans but confusing or illegible to automated bots and AI scrapers. They work either by scrambling the underlying code or by using optical illusions.

How does ShieldFont poison AI data?

ShieldFont uses OpenType glyph substitution to swap roughly half of the content words in a website's HTML code with random, grammatically matching words. The scraper ingests the gibberish, which degrades the quality of the AI's training dataset.

Can AI scrapers learn to bypass these fonts?

Yes. AI developers can adapt by programming their scrapers to visually render the webpage and use optical character recognition (OCR) to read the text, though this requires significantly more computational power than scraping raw HTML.

Do adversarial fonts affect screen readers?

Yes. Fonts that scramble the underlying HTML code, like ShieldFont, will cause screen readers to read the gibberish aloud, breaking web accessibility for visually impaired users.

Sources

Source coverage

4 outlets

3 viewpoints surfaced

Independent Publishers 40%AI Data Engineers 30%Web Accessibility Advocates 30%
  1. [1]Smithsonian MagazineIndependent Publishers

    Designers and Computer Scientists Create New Decoy Fonts That Humans Can Read but A.I. Bots Cannot

    Read on Smithsonian Magazine
  2. [2]arXivAI Data Engineers

    Adversarial Paraphrasing: A Universal Attack for Humanizing AI-Generated Text

    Read on arXiv
  3. [3]arXivAI Data Engineers

    Improving Paraphrase Detection with the Adversarial Paraphrasing Task

    Read on arXiv
  4. [4]Factlen Editorial TeamWeb Accessibility Advocates

    Synthesis by Factlen editorial team

    Read on Factlen Editorial Team

Comments

Stay informed

Every angle. Every day.

Get Culture stories with full source coverage and perspective breakdowns delivered to your inbox.