mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
[api-minor] Remove SVG-rendering from the viewer (PR 15173 follow-up)
This commit is contained in:
parent
b135dadb17
commit
c2f1e65cc3
5 changed files with 14 additions and 159 deletions
|
@ -46,14 +46,6 @@ const SidebarView = {
|
|||
LAYERS: 4,
|
||||
};
|
||||
|
||||
const RendererType =
|
||||
typeof PDFJSDev === "undefined" || PDFJSDev.test("!PRODUCTION || GENERIC")
|
||||
? {
|
||||
CANVAS: "canvas",
|
||||
SVG: "svg",
|
||||
}
|
||||
: null;
|
||||
|
||||
const TextLayerMode = {
|
||||
DISABLE: 0,
|
||||
ENABLE: 1,
|
||||
|
@ -880,7 +872,6 @@ export {
|
|||
PresentationModeState,
|
||||
ProgressBar,
|
||||
removeNullCharacters,
|
||||
RendererType,
|
||||
RenderingStates,
|
||||
roundToDivide,
|
||||
SCROLLBAR_PADDING,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue