Closed Bug 1136990 Opened 9 years ago Closed 8 years ago

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

Categories

(Firefox Graveyard :: Shumway, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: till, Assigned: tschneider)

References

()

Details

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.
Blocks: shumway-1.0
Assignee: nobody → schneider
Product: Firefox → Firefox Graveyard
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.