# What is font fingerprinting?

> Font fingerprinting is a page measuring text in many font names to learn which fonts are installed, which gives away the operating system and the machine.

Source: https://mosaicbrowser.com/glossary/font-fingerprinting

## Font fingerprinting: how a page reads the fonts you have

Font fingerprinting is a page working out which fonts are installed on your computer, usually by drawing a string in each candidate font and comparing its width against a fallback. The list, and the exact widths, differ by operating system, by installed software and by machine.

![Font fingerprinting: 159 fonts against one, drawn as a mosaic of tiles](https://mosaicbrowser.com/covers/font-fingerprinting.webp)

No browser hands a page a list of your fonts. A page builds the list itself, one guess at a time, and the guessing is cheap enough to run on every visit.

## How font fingerprinting works

The classic method needs nothing but layout. The page puts a long string in a hidden element in a generic family such as `monospace`, and notes its width and height. Then it sets the family to `'Calibri', monospace` and measures again. If the size changed, Calibri is installed, because the browser drew it instead of falling back. Repeat for a few hundred names and you have a list. The canvas version does the same with [`measureText()`](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText), which returns a width to fractions of a pixel.

There are two other doors. [`document.fonts.check()`](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check) answers whether text in a given font can be rendered without loading anything. And Chromium's [Local Font Access API](https://developer.mozilla.org/en-US/docs/Web/API/Local_Font_Access_API) returns every installed font outright, but only after a permission prompt, so fingerprinting scripts rarely use it.

The result carries two kinds of information. The list says which operating system you run (Segoe UI and Calibri come with Windows, Avenir and Hoefler Text with macOS) and what you installed on top: Office, Adobe apps, a language pack. The widths say how this machine shapes and rasterises text, down to the subpixel. Our own [fingerprint checker](https://mosaicbrowser.com/tools/fingerprint-checker) runs the width test against 39 names and prints what it found.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Fingerprints set inside the browser](https://mosaicbrowser.com/features/engine)

## What a site learns, and how it links accounts

A font list is stable for months, and it sits outside every cookie jar. Two accounts opened on one computer show the same list whatever else differs, so it is a join key between them.

It is also a consistency check. A detector that reads a Windows User-Agent probes for Windows fonts. We ran Pixelscan on our build Mac against profiles claiming other systems. The profile claiming macOS showed a font hash over 159 fonts, starting with Al Bayan, Al Nile and Al Tarikh. The profile claiming Linux showed one: Abyssinica SIL. The fonts belong to the computer the browser runs on, not to the system it claims, and no switch changes that. The Windows claim never finished the scan. Pixelscan's verdict on the Linux one was "masking detected".

## Hiding fonts made it worse

Our engine once hid a few font families per profile, to vary the list. A Pixelscan bisect on one profile, one surface switched off at a time, said the hiding was the single thing failing it: with only fonts off, the profile passed, and with canvas, audio, GPU or screen off it still failed. A macOS font list missing two families at random is not a rare Mac. It is a Mac nobody owns.

![A profile fingerprint in Mosaic: GPU, screen, fonts, timezone and language matched to the proxy's IP](https://mosaicbrowser.com/shots/fingerprint-detail.png)
*Fonts are listed in the profile's identity panel*

## How to check yours

Open the [fingerprint checker](https://mosaicbrowser.com/tools/fingerprint-checker) and read the "fonts detected" row. Run it twice: the list should be identical both times, because a real machine does not change its fonts between page loads. If the browser claims one operating system and the list is another's, a detector will see that before anything else. The rest of the surfaces a page reads are in [browser fingerprinting](https://mosaicbrowser.com/glossary/browser-fingerprinting).

## How Mosaic handles fonts

Tesseract Chrome, our own Chromium, shows the fonts installed on your computer and no others. That is why Mosaic shows a caution on a Windows profile made on a Mac: it is allowed and drawn coherently for Windows, but the computer's own OS is always the strongest match ([the reasoning and the measurements](https://mosaicbrowser.com/guides/can-a-mac-make-windows-browser-profiles)). What the [engine](https://mosaicbrowser.com/features/engine) does vary is the measurement: each glyph's advance moves by up to a twentieth of a pixel, keyed to the profile's seed inside the engine. One profile measures a string the same way every time, and two profiles measure it differently. Two profiles on one computer report the same list of fonts, as they report the same GPU vendor. We chose a shared truth over a list no real machine has.

## Sources

1. [MDN: CanvasRenderingContext2D.measureText()](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText), read November 2, 2026
2. [MDN: FontFaceSet.check()](https://developer.mozilla.org/en-US/docs/Web/API/FontFaceSet/check), read November 2, 2026
3. [MDN: Local Font Access API](https://developer.mozilla.org/en-US/docs/Web/API/Local_Font_Access_API), read November 2, 2026

## Questions

### Can a website see my installed fonts without asking?

It cannot get the list directly, but it can test font names one at a time by measuring text, and that needs no permission. The Local Font Access API, which does return the full list, asks the user first.

### Does blocking fonts stop font fingerprinting?

Hiding a few fonts changes the list, but a list with common system fonts missing is rarer than the original, so it stands out more. We measured exactly that: removing the hiding fixed a detector verdict.

### Why does font fingerprinting reveal my operating system?

Each operating system ships its own default fonts. A browser that claims Windows but renders only macOS fonts contradicts itself, and a detector that probes the claimed system's list finds the gap at once.

### Is font fingerprinting the same as canvas fingerprinting?

They overlap. Canvas fingerprinting hashes pixels, which depend partly on fonts and how they are rasterised. Font fingerprinting asks which fonts exist and how wide their text is.

## Related

[Browser fingerprinting: how sites recognise a browser without cookies](https://mosaicbrowser.com/glossary/browser-fingerprinting): Browser fingerprinting is recognising a browser by reading its hardware, settings and rendering quirks instead of storing a cookie. How sites do it.

[Canvas fingerprinting: how a drawing identifies your computer](https://mosaicbrowser.com/glossary/canvas-fingerprinting): Canvas fingerprinting draws hidden text and shapes, reads the pixels back and hashes them. Small rendering differences make the hash a mark of your machine.

[Can a Mac make Windows browser profiles? Yes, at a measured cost](https://mosaicbrowser.com/guides/can-a-mac-make-windows-browser-profiles): Yes. Mosaic makes Windows profiles on a Mac, drawn for Windows, with a caution: the fonts a page measures still come from the Mac, so macOS matches best.

[An anti-detect browser with its own Chromium engine](https://mosaicbrowser.com/features/engine): Mosaic is an anti-detect browser with its own Chromium engine, Tesseract Chrome: stock Chromium source, with fingerprint values changed inside the engine.









[Engine-level fingerprint spoofing, and what it fixes](https://mosaicbrowser.com/glossary/engine-level-fingerprint-spoofing): Engine-level fingerprint spoofing changes fingerprint values inside the browser's own source code, so every page, frame and worker reads the same answer.

[Anti-detect browser: one browser per account, kept apart](https://mosaicbrowser.com/glossary/anti-detect-browser): An anti-detect browser runs separate profiles, each with its own fingerprint, proxy and cookies, so a site sees each one as a different computer.

## See font fingerprinting on a real profile

Mosaic shows the values a site reads, per profile, and runs a leak test from inside the profile’s own page. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
