1
0
Fork 0
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:
Jonas Jenwald 2022-01-19 11:43:41 +01:00
parent be53c7d6f5
commit 3ced0dec1b
16 changed files with 1 additions and 2302 deletions

View file

@ -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,
};

View file

@ -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,
};

File diff suppressed because it is too large Load diff

View file

@ -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,