W3C home > Mailing lists > Public > www-font@w3.org > July to September 2015

Is there a pure JS implementation of the WOFF2 Brotli codec?

From: Mike Kamermans <nihongo@gmail.com>
Date: Tue, 14 Jul 2015 16:25:15 -0700
Message-ID: <CABhc0+LJQ3ZnycSqJg9KWWqempaL08b=CXpKzBziADJvguuHEw@mail.gmail.com>
To: www-font@w3.org
On the off-chance that anyone knows, fontkit (
https://github.com/devongovett/fontkit) is currently using an emscripten'ed
version of the Brotli codec for handling WOFF2 decoding, which turns what
is a 34MB footprint process without WOFF2 decoding into a ~1000MB footprint
process with... making it rather unusable for dealing with WOFF2 files in
any meaningful production setting.

I was wondering if anyone knew of, or was working on, a pure JS
implementation of the Brotli codec, in the hopes that this could be used by
fontkit for its WOFF2 handling, so that font parsing in node or in the
browser (like one might do using Opentype.js etc) becomes possible for this
newer standard.

- Mike "Pomax" Kamermans
Received on Tuesday, 14 July 2015 23:35:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:37 UTC