There is a font-detection technique that needs no font-enumeration API, no permission, and no privileged surface. It draws a short string in a candidate font, draws the same string in a known fallback ...
description Detect installed fonts in JavaScript with no enumeration API: how the width-comparison probe tells present from absent, and why headless browsers fail it. There is a font-detection ...