diff --git a/src/display/svg.js b/src/display/svg.js index a0e9813e9..e24f47332 100644 --- a/src/display/svg.js +++ b/src/display/svg.js @@ -14,6 +14,7 @@ */ /* globals __non_webpack_require__ */ +import { deprecated, DOMSVGFactory } from "./display_utils.js"; import { FONT_IDENTITY_MATRIX, IDENTITY_MATRIX, @@ -24,7 +25,6 @@ import { Util, warn, } from "../shared/util.js"; -import { DOMSVGFactory } from "./display_utils.js"; import { isNodeJS } from "../shared/is_node.js"; /** @type {any} */ @@ -467,6 +467,9 @@ if ( SVGGraphics = class { constructor(commonObjs, objs, forceDataSchema = false) { + deprecated( + "The SVG back-end is no longer maintained and *may* be removed in the future." + ); this.svgFactory = new DOMSVGFactory(); this.current = new SVGExtraState();