Skip to content

Commit

Permalink
Update pdf.js
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed May 5, 2024
1 parent a17880d commit 9df376e
Show file tree
Hide file tree
Showing 10 changed files with 588 additions and 480 deletions.
400 changes: 260 additions & 140 deletions build/pdf.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/pdf.mjs.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/pdf.sandbox.mjs

Large diffs are not rendered by default.

344 changes: 211 additions & 133 deletions build/pdf.worker.mjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/pdf.worker.mjs.map

Large diffs are not rendered by default.

19 changes: 13 additions & 6 deletions web/locale/pa-IN/viewer.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ pdfjs-download-button-label = ਡਾਊਨਲੋਡ
pdfjs-bookmark-button =
.title = ਮੌਜੂਦਾ ਸਫ਼਼ਾ (ਮੌਜੂਦਾ ਸਫ਼ੇ ਤੋਂ URL ਵੇਖੋ)
pdfjs-bookmark-button-label = ਮੌਜੂਦਾ ਸਫ਼਼ਾ
# Used in Firefox for Android.
pdfjs-open-in-app-button =
.title = ਐਪ ਵਿੱਚ ਖੋਲ੍ਹੋ
# Used in Firefox for Android.
# Length of the translation matters since we are in a mobile context, with limited screen estate.
pdfjs-open-in-app-button-label = ਐਪ ਵਿੱਚ ਖੋਲ੍ਹੋ
## Secondary toolbar and context menu

Expand Down Expand Up @@ -304,6 +298,12 @@ pdfjs-editor-stamp-button-label = ਚਿੱਤਰ ਜੋੜੋ ਜਾਂ ਸੋ
pdfjs-editor-highlight-button =
.title = ਹਾਈਲਾਈਟ
pdfjs-editor-highlight-button-label = ਹਾਈਲਾਈਟ
pdfjs-highlight-floating-button =
.title = ਹਾਈਲਾਈਟ
pdfjs-highlight-floating-button1 =
.title = ਹਾਈਲਾਈਟ
.aria-label = ਹਾਈਲਾਈਟ
pdfjs-highlight-floating-button-label = ਹਾਈਲਾਈਟ
## Remove button for the various kind of editor.

Expand Down Expand Up @@ -387,3 +387,10 @@ pdfjs-editor-colorpicker-pink =
.title = ਗੁਲਾਬੀ
pdfjs-editor-colorpicker-red =
.title = ਲਾਲ
## Show all highlights
## This is a toggle button to show/hide all the highlights.

pdfjs-editor-highlight-show-all-button-label = ਸਭ ਵੇਖੋ
pdfjs-editor-highlight-show-all-button =
.title = ਸਭ ਵੇਖੋ
8 changes: 1 addition & 7 deletions web/locale/tr/viewer.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ pdfjs-download-button-label = İndir
pdfjs-bookmark-button =
.title = Geçerli sayfa (geçerli sayfanın adresini görüntüle)
pdfjs-bookmark-button-label = Geçerli sayfa
# Used in Firefox for Android.
pdfjs-open-in-app-button =
.title = Uygulamada aç
# Used in Firefox for Android.
# Length of the translation matters since we are in a mobile context, with limited screen estate.
pdfjs-open-in-app-button-label = Uygulamada aç
## Secondary toolbar and context menu

Expand Down Expand Up @@ -273,7 +267,7 @@ pdfjs-rendering-error = Sayfa yorumlanırken bir hata oluştu.
# Variables:
# $date (Date) - the modification date of the annotation
# $time (Time) - the modification time of the annotation
pdfjs-annotation-date-string = { $date }, { $time }
pdfjs-annotation-date-string = { $date } { $time }
# .alt: This is used as a tooltip.
# Variables:
# $type (String) - an annotation type from a list defined in the PDF spec
Expand Down
1 change: 0 additions & 1 deletion web/viewer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2704,7 +2704,6 @@

.pdfViewer .page canvas{
margin:0;
display:block;
}

.pdfViewer .page canvas .structTree{
Expand Down
Loading

0 comments on commit 9df376e

Please sign in to comment.