mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
[api-major] Remove the SVG back-end (PR 15173 follow-up)
This has been deprecated since version `2.15.349`, which is a year ago. Removing this will also simplify some upcoming changes, specifically outputting of JavaScript modules in the builds.
This commit is contained in:
parent
be53c7d6f5
commit
3ced0dec1b
16 changed files with 1 additions and 2302 deletions
|
@ -73,7 +73,6 @@ import { PDFDataTransportStream } from "./transport_stream.js";
|
|||
import { PDFFetchStream } from "display-fetch_stream";
|
||||
import { PDFNetworkStream } from "display-network";
|
||||
import { PDFNodeStream } from "display-node_stream";
|
||||
import { SVGGraphics } from "display-svg";
|
||||
import { XfaText } from "./xfa_text.js";
|
||||
|
||||
const DEFAULT_RANGE_CHUNK_SIZE = 65536; // 2^16 = 65536
|
||||
|
@ -3468,6 +3467,5 @@ export {
|
|||
PDFWorker,
|
||||
PDFWorkerUtil,
|
||||
RenderTask,
|
||||
SVGGraphics,
|
||||
version,
|
||||
};
|
||||
|
|
|
@ -21,7 +21,6 @@ const NullL10n = null;
|
|||
const PDFFetchStream = null;
|
||||
const PDFNetworkStream = null;
|
||||
const PDFNodeStream = null;
|
||||
const SVGGraphics = null;
|
||||
|
||||
export {
|
||||
NodeCanvasFactory,
|
||||
|
@ -32,5 +31,4 @@ export {
|
|||
PDFFetchStream,
|
||||
PDFNetworkStream,
|
||||
PDFNodeStream,
|
||||
SVGGraphics,
|
||||
};
|
||||
|
|
1700
src/display/svg.js
1700
src/display/svg.js
File diff suppressed because it is too large
Load diff
|
@ -50,7 +50,6 @@ import {
|
|||
getDocument,
|
||||
PDFDataRangeTransport,
|
||||
PDFWorker,
|
||||
SVGGraphics,
|
||||
version,
|
||||
} from "./display/api.js";
|
||||
import {
|
||||
|
@ -119,7 +118,6 @@ export {
|
|||
renderTextLayer,
|
||||
setLayerDimensions,
|
||||
shadow,
|
||||
SVGGraphics,
|
||||
UnexpectedResponseException,
|
||||
updateTextLayer,
|
||||
Util,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue