Closed Bug 1088663 Opened 5 years ago Closed Last year
Switch PDF Viewer to use CSS Font Loading API instead of data-URIs
Bug 1028497 introduces CSS font loading API into firefox. The PDF.js can use it in the generic viewer after https://github.com/mozilla/pdf.js/pull/5366. Looks like it's using memory better: does not create base64 string and DOM elements to hold that. Currently m-c PDF Viewer is using data-URI as the only method for font-face registration: https://github.com/mozilla/pdf.js/blob/master/src/display/font_loader.js#L283. We shall probably change that.
See Also: → https://github.com/mozilla/pdf.js/issues/5366
Status: NEW → RESOLVED
Closed: Last year
Depends on: 1496753
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
You need to log in before you can comment on or make changes to this bug.