Rasterize embedded fonts in JS and parse font glyphs lazily when needed

RESOLVED INCOMPLETE

Status

Firefox Graveyard
Shumway
RESOLVED INCOMPLETE
3 years ago
2 years ago

People

(Reporter: till, Assigned: tobytailor)

Tracking

Details

(URL)

(Reporter)

Description

3 years ago
The linked SWF contains a 1.5Mb font, which it takes us several seconds to parse at startup. Obviously, 99.9% of the 39477 glyphs aren't ever used.

The SWF file format's DefineFont* tags are laid out in a way that makes lazy glyph parsing laughably easy. Unfortunately, we can't do that because we have to create the entire font in one go before registering it in the browser.

So, to make this work we need to do our own rasterization. We've talked about this every now and again, and each time came to the conclusion that it would probably not even be all that hard.
(Reporter)

Updated

3 years ago
Blocks: 1038057
(Assignee)

Updated

3 years ago
Assignee: nobody → schneider
Product: Firefox → Firefox Graveyard
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.