Closed
Bug 1088663
Opened 10 years ago
Closed 6 years ago
Switch PDF Viewer to use CSS Font Loading API instead of data-URIs
Categories
(Firefox :: PDF Viewer, defect)
Firefox
PDF Viewer
Tracking
()
RESOLVED
FIXED
Firefox 64
People
(Reporter: yury, Unassigned)
References
Details
(Whiteboard: [pdfjs-c-integration])
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.
Reporter | ||
Updated•10 years ago
|
See Also: → https://github.com/mozilla/pdf.js/issues/5366
Comment 1•10 years ago
|
||
Issue #5366 has been fixed. What's left to do here?
Updated•6 years ago
|
Status: NEW → RESOLVED
Closed: 6 years ago
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.
Description
•