Skip to content

mtx-decompressorMTX-compressed EOT to TrueType

A TypeScript library with no runtime dependencies. Extracts standard .ttf fonts from MicroType Express data in the browser and in Node.js.

Live demo ​

Select or drop an .eot file. The font is extracted in your browser and is not uploaded anywhere.

Example ​

ts
import { eotToTtf } from 'mtx-decompressor';

const eotBytes = new Uint8Array(await file.arrayBuffer());
const ttf = eotToTtf(eotBytes); // Uint8Array containing a TrueType font

See Getting started for installation and Usage for more examples.

Released under the MPL-2.0 License.