تخطي إلى المحتوى

هذه الصفحة غير متوفرة بلغتك بعد. أنت تقرأ النص الإنجليزي.

Fingerprint

Fonts give the system away twice: list and generic family

The profile declares Windows while you work on a Mac? Fonts give this seam away with two yardsticks. The first is the list of names: a page asks which fonts are installed. The second is the generic family: a page asks to draw cursive and measures what it was drawn with.

فريق ARMANOS7 minUpdated

In short

Two yardsticks. The list of font names and the width of generic families are read separately.

ARMANOS makes both agree. A profile declares the fonts of its own system and resolves families without a seam.

A check in one evening. Six families and one service name show whether the profile adds up.

A page asks about fonts twice

Both use one trick: the page draws a test string and measures how wide it came out. It asks no permission and leaves you no trace.

The first answers an easy question: do you have Menlo. The second a harder one: what does your system put behind the word cursive.

  1. 1

    Draws a test string

    The same string is set in one font after another.

  2. 2

    Measures the width

    Every font has a width of its own, and that is a number already.

  3. 3

    Compares with the fallback

    A width equal to the fallback means you lack that font.

The name list betrays the system

A set of fonts builds up on a machine by itself: an office suite, a design tool and games each leave some behind.

Two accounts whose sets match letter for letter get paired faster than two sharing an exit address.

A Windows profile claims 14 fonts always, with another 18 held in reserve from which the draw takes about half; a macOS profile has 15 always and 20 in reserve.

So the length of the list differs between two of your profiles, and the sets part on their own.

One foreign font in that list undoes the whole arrangement. A profile that claims Windows and admits Menlo or Papyrus describes a machine nobody ever shipped.

Which fonts a profile always has

The core of a Windows profile is fourteen names present on any live Windows: Arial, Courier New, Georgia, Segoe UI, Tahoma, Times New Roman, Trebuchet MS, Verdana and six more.

Four of the fourteen back the generic families: Comic Sans MS, Impact, Cambria Math and Consolas.

Eighteen optional ones arrive by lot: Calibri, Cambria, Candara, Garamond, Century Gothic, Arial Black and others.

So two Windows profiles differ in list length by themselves, and two identical lists are rarer than two identical addresses.

Profile systemAlways presentArrive by lot
Windows1418
macOS1520
Linux2117

The second name of one font

On a Mac a font carries a second name, short and technical: Arial answers to ArialMT as well.

Font lookup on macOS works that way, and a live Mac answers both names alike.

A profile that has Arial but not ArialMT looks like no real Mac.

That is why a macOS profile has second names for 24 families, and they enter its list together with the family itself.

A Windows profile has no second names: Windows looks a font up by family.

Generic families are the second measure

Besides a name, a page can ask for a family: serif, sans-serif, monospace, cursive, fantasy or math.

A live machine answers all six with different fonts, and the widths differ too.

On a Mac, a macOS profile gives four different widths for four families. A Windows profile on the same Mac gives one width for all four, and that gives the seam away.

FamilymacOS profile on a MacWindows profile on a Mac
serifIts own widthIts own width
cursiveIts own widthSame as serif
fantasyIts own widthSame as serif
mathIts own widthSame as serif

Why four widths collapse into one

The word cursive is not a font but an errand: turning it into one is the job of the system you sit at.

On a Mac cursive opens into Apple Chancery, fantasy into Papyrus, math into STIX Two Math.

A Windows profile claims none of those three, so each is turned away into the fallback.

Three families settle onto the width of serif, and one measurement shows a machine that does not exist.

What closes this seam

ARMANOS reads the family mapping from the profile's own settings and closes the seam: each family gets a font the profile already declares.

After that the four widths diverge again, as on a live machine: families are filled in with fonts you have.

This is done only for a foreign template: your own system resolves families correctly by itself.

Assigning at random is not allowed: a font your machine lacks would close one impossible machine and open another.

What ARMANOS does about fonts

A profile declares the fonts of its own system: a permanent core of names and some optional ones.

Second font names on macOS and generic families resolve the way they do on a real machine.

A phone profile gets the short Android font list, not a desktop set.

The list stays clean: letters are drawn with the fonts of the system the profile runs on, and they do not appear in a page's answer.

Letters draw while the list stays clean

On any machine the profile draws text like an ordinary browser: the letters show and the page looks as usual, even for a phone profile on a laptop.

And when a page asks what you have installed, it gets the profile's list, not your machine's.

So a Windows profile on a Mac writes in letters familiar to the eye and names Windows fonts to the page.

A phone's list is short on purpose

Android has few fonts, and that is the first thing a phone gives itself away with. There is no desktop set: a page that measures Arial and gets an answer knows it is not a phone.

So a phone profile declares a short list: Roboto, Noto Sans, Noto Serif, Droid Sans Mono and a few others.

Its generic families are its own: cursive resolves to Dancing Script, monospace to Droid Sans Mono, and math falls back to serif.

When fonts disagree with the system

If a profile declares one system while its fonts and generic families answer as another, a page sees the seam in one check.

So pick a template for the system you work on, or leave the matching to ARMANOS.

How to check your profiles tonight

You can take both yardsticks yourself, with nothing to install. Open the developer console in the profile and measure one line with six families in a row, writing down the width.

Then check the second name: ask about Arial and separately about ArialMT with the same yardstick. A real Mac answers both the same, while a Windows profile does not recognise service names.

  1. 1

    Measure six families

    One string, six widths: widths that match each other are the seam.

  2. 2

    Ask for the second name

    On a macOS profile Arial and ArialMT must answer alike.

  3. 3

    Match the list to the system

    A font the claimed system never ships has no business in the list.

  4. 4

    Repeat on the next profile

    Two sets that match letter for letter get paired by a platform.

Common questions

Can I just swap the user agent string?
No: the font list and the generic family are read separately from it. Swapping one field more often adds a mismatch than removes one.
Would claiming more fonts be better?
No. A generous list looks odd by itself, and one name from a foreign system gives the seam away at once.
Why not give every profile one set?
A set that matches letter for letter ties your accounts together more firmly than any address. Sets have to part from profile to profile.
I am on a Mac with a Mac profile, is this moot?
Your own system opens the families correctly, and there is nothing to assign. The widths are still worth a look: the font list is your own.
Does incognito or a blocker help here?
No. The width is measured right where you are, without a single request leaving, so there is nothing to block.
How long does one profile take?
Both take a couple of minutes in the console. Walking profiles in pairs takes longer; a dozen an evening is a calm pace.

See which fonts your browser names

The free check reads 12 values, fonts included, and sends nothing out.