mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #16086 from mozilla/Snuffleupagus-textLayer-OffscreenCanvas
Use `OffscreenCanvas` as intended for all code-paths in `src/display/text_layer.js` (PR 15722 follow-up)
This commit is contained in:
commit
af64149885
1 changed files with 1 additions and 0 deletions
|
@ -311,6 +311,7 @@ class TextLayerRenderTask {
|
|||
this._container = this._rootContainer = container;
|
||||
this._textDivs = textDivs || [];
|
||||
this._textContentItemsStr = textContentItemsStr || [];
|
||||
this._isOffscreenCanvasSupported = isOffscreenCanvasSupported;
|
||||
this._fontInspectorEnabled = !!globalThis.FontInspector?.enabled;
|
||||
|
||||
this._reader = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue