Skip to content

Commit

Permalink
Update pdf.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed Oct 8, 2023
1 parent 6a20e13 commit 90565ae
Show file tree
Hide file tree
Showing 12 changed files with 87,961 additions and 126 deletions.
16,991 changes: 16,991 additions & 0 deletions build/pdf.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/pdf.mjs.map

Large diffs are not rendered by default.

241 changes: 241 additions & 0 deletions build/pdf.sandbox.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/pdf.sandbox.mjs.map

Large diffs are not rendered by default.

56,967 changes: 56,967 additions & 0 deletions build/pdf.worker.mjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/pdf.worker.mjs.map

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions web/debugger.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
font: message-box;
}
#PDFBug {
background-color: rgba(255, 255, 255, 1);
border: 1px solid rgba(102, 102, 102, 1);
background-color: rgb(255 255 255);
border: 1px solid rgb(102 102 102);
position: fixed;
top: 32px;
right: 0;
Expand All @@ -33,8 +33,8 @@
width: var(--panel-width);
}
#PDFBug .controls {
background: rgba(238, 238, 238, 1);
border-bottom: 1px solid rgba(102, 102, 102, 1);
background: rgb(238 238 238);
border-bottom: 1px solid rgb(102 102 102);
padding: 3px;
}
#PDFBug .panels {
Expand All @@ -50,7 +50,7 @@
}
.debuggerShowText,
.debuggerHideText:hover {
background-color: rgba(255, 255, 0, 1);
background-color: rgb(255 255 0);
}
#PDFBug .stats {
font-family: courier;
Expand Down Expand Up @@ -82,30 +82,30 @@
}

#viewer.textLayer-visible .canvasWrapper {
background-color: rgba(128, 255, 128, 1);
background-color: rgb(128 255 128);
}

#viewer.textLayer-visible .canvasWrapper canvas {
mix-blend-mode: screen;
}

#viewer.textLayer-visible .textLayer span {
background-color: rgba(255, 255, 0, 0.1);
color: rgba(0, 0, 0, 1);
border: solid 1px rgba(255, 0, 0, 0.5);
background-color: rgb(255 255 0 / 0.1);
color: rgb(0 0 0);
border: solid 1px rgb(255 0 0 / 0.5);
box-sizing: border-box;
}

#viewer.textLayer-visible .textLayer span[aria-owns] {
background-color: rgba(255, 0, 0, 0.3);
background-color: rgb(255 0 0 / 0.3);
}

#viewer.textLayer-hover .textLayer span:hover {
background-color: rgba(255, 255, 255, 1);
color: rgba(0, 0, 0, 1);
background-color: rgb(255 255 255);
color: rgb(0 0 0);
}

#viewer.textLayer-shadow .textLayer span {
background-color: rgba(255, 255, 255, 0.6);
color: rgba(0, 0, 0, 1);
background-color: rgb(255 255 255 / 0.6);
color: rgb(0 0 0);
}
18 changes: 18 additions & 0 deletions web/locale/en-US/viewer.properties
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,21 @@ editor_alt_text_save_button=Save
editor_alt_text_decorative_tooltip=Marked as decorative
# This is a placeholder for the alt text input area
editor_alt_text_textarea.placeholder=For example, “A young man sits down at a table to eat a meal”

# Editor resizers
# LOCALIZATION NOTE (editor_resizer_label_topLeft): This is used in an aria label to help to understand the role of the resizer.
editor_resizer_label_topLeft=Top left corner — resize
# LOCALIZATION NOTE (editor_resizer_label_topMiddle): This is used in an aria label to help to understand the role of the resizer.
editor_resizer_label_topMiddle=Top middle — resize
# LOCALIZATION NOTE (editor_resizer_label_topRight): This is used in an aria label to help to understand the role of the resizer.
editor_resizer_label_topRight=Top right corner — resize
# LOCALIZATION NOTE (editor_resizer_label_middleRight): This is used in an aria label to help to understand the role of the resizer.
editor_resizer_label_middleRight=Middle right — resize
# LOCALIZATION NOTE (editor_resizer_label_bottomRight): This is used in an aria label to help to understand the role of the resizer.
editor_resizer_label_bottomRight=Bottom right corner — resize
# LOCALIZATION NOTE (editor_resizer_label_bottomMiddle): This is used in an aria label to help to understand the role of the resizer.
editor_resizer_label_bottomMiddle=Bottom middle — resize
# LOCALIZATION NOTE (editor_resizer_label_bottomLeft): This is used in an aria label to help to understand the role of the resizer.
editor_resizer_label_bottomLeft=Bottom left corner — resize
# LOCALIZATION NOTE (editor_resizer_label_middleLeft): This is used in an aria label to help to understand the role of the resizer.
editor_resizer_label_middleLeft=Middle left — resize
Loading

0 comments on commit 90565ae

Please sign in to comment.