Skip to Content
Platform.Ontology

Font enumeration by text metrics

Tests hundreds of font names by comparing text width against a fallback font.

Used to track youGraphics and fingerprintingFontsWeb browsersWhen the page loads

In one line

Can test hundreds of font names to learn which fonts are on your device

Tests hundreds of font names by comparing text width against a fallback font.

Installed fonts reveal OS, Office or Adobe apps, languages and sometimes profession (design, dev). The list is stable and shared by few people, one of the strongest fingerprint inputs.

What it can and can't do

What the user does: Nothing. It happens when the page loads

It can

  • Measure text width for each font name against a plain fallback font
  • Build a list of fonts you have installed
  • Guess your system, apps like Office or Adobe, and sometimes your job
  • Use the list to recognise you later, since few people share it

It cannot

  • Open your font files or see your files
  • Ask permission first
  • Get a clean list in Tor Browser or Safari 26, which limit this
  • Know your name by itself

How it differs between platforms: Safari 26 and Tor Browser limit font checks. Chrome, Edge and Firefox allow them in normal browsing.

Browser support

BrowserStatusFirst versionReleasedNote
ChromeSupported42010-01-25None
EdgeSupported792020-01-15None
FirefoxSupported3.62010-01-21None
SafariSupported42009-06-08None
Safari on iPhoneSupported42010-06-21None
Chrome on AndroidSupported4Not listedNone
Samsung InternetSupported5.02016-12-15None

How a site asks for it

APIcanvas measureText(); element.offsetWidth; getBoundingClientRect(); document.fonts.check()
How access is grantednone
What the user seesNot listed
Needs a secure context (HTTPS)No
Needs a user gestureNo
How long it lastsNot listed
How to take it backNot listed
Inside an iframeNot listed

Typical flow

  1. Render a test string in 'monospace', record width
  2. For each candidate font render 'font, monospace' and compare widths
  3. A mismatch means the font is installed

Data you get

What comes back: Probe 100 to 1,000 font names, 1 bit each (installed or not)
Shape: list

FieldTypeUnitRangePrecision
installed fontslistNone0 to 500 of those probedexact names for the probe list

Technical limits

  • Cannot list font names directly without Local Font Access permission
  • Probe lists are finite
  • Firefox RFP and Tor expose only a bundled set

The story

What it is

A script tests hundreds of font names by comparing text width with a fallback font to see which are installed.

For you

You never see it. The page writes a word in each font name and measures how wide it is. If the width changes, that font is on your device, and your font list works like a signature.

For makers

Design and document tools need to know which fonts you have. Trackers use the same trick because few people have the same font set, especially people who install apps like Office or Adobe.

Where you see it

TypeExampleApps
creativeA web design tool lists fonts you own so your mockups match what you will print.Figma, Canva
productivityA web document editor warns that a font in a file is missing on your computer.Google Docs, Microsoft 365 web
adsA tracker checks 500 font names and uses the list as a strong part of a device ID.None named
securityA fraud tool sees a device with no common fonts and suspects a cloud server or bot.None named
shoppingA custom print shop shows a preview using fonts you already have so the look matches.None named
gamesA browser game with a creator mode asks which fonts to offer for custom signs.None named
accessibilityA reading site checks for dyslexia friendly fonts on your device before loading its own.None named

Risks

  • Font list is very unique
  • No prompt needed
  • Hard to stop

What the platform says

Good uses and abuse

Legitimate uses

  • Detect CJK and emoji coverage

Known abuse

  • Cookieless ID, profession or OS inference

Scores

ScoreValueMeaning
Sensitivity4 of 5How revealing the data is
Utility1 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bits7Rough identifying entropy, when known

History

  • 2013-01, paper: Nikiforakis et al. Cookieless Monster documents font fingerprinting
  • 2016-01, paper: AmIUnique reports fonts about 8 bits (Flash era)

Sources

How well checked: Based on official documentation.

On this page