EOT container parsing
Reads the Embedded OpenType header, including files whose declared version disagrees with their layout, and applies the container's compression and XOR flags.
A TypeScript library with no runtime dependencies. Extracts standard .ttf fonts from MicroType Express data in the browser and in Node.js.
Select or drop an .eot file. The font is extracted in your browser and is not uploaded anywhere.
import { eotToTtf } from 'mtx-decompressor';
const eotBytes = new Uint8Array(await file.arrayBuffer());
const ttf = eotToTtf(eotBytes); // Uint8Array containing a TrueType fontSee Getting started for installation and Usage for more examples.