-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
376 changed files
with
132,705 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE HTML> | ||
<html lang="en-US"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="refresh" content="0; url=web/"> | ||
<script type="text/javascript"> | ||
window.location.href = "web/" | ||
</script> | ||
<title>Page Redirection</title> | ||
</head> | ||
<body> | ||
Attempting to redirect to: | ||
<br> | ||
<a href="web/">https://yomitan.wiki/yomitan-pdf-viewer/web</a> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python -m http.server --bind localhost |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# get latest github tag minus the "v" on front | ||
pdfjs_version=$(curl "https://api.github.com/repos/mozilla/pdf.js/releases/latest" | jq -r '.tag_name' | sed 's/^v//') | ||
|
||
wget "https://github.com/mozilla/pdf.js/releases/download/v$pdfjs_version/pdfjs-$pdfjs_version-dist.zip" | ||
unzip -o "pdfjs-$pdfjs_version-dist.zip" "web/*" -d "." | ||
unzip -o "pdfjs-$pdfjs_version-dist.zip" "build/*" -d "." | ||
mv "./web/viewer.html" "./web/index.html" | ||
cp "yomitan-pdf-viewer.pdf" "./web/compressed.tracemonkey-pldi-09.pdf" | ||
|
||
rm "pdfjs-$pdfjs_version-dist.zip" |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
�RCopyright 1990-2009 Adobe Systems Incorporated. | ||
All rights reserved. | ||
See ./LICENSE�CNS2-H |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
�RCopyright 1990-2009 Adobe Systems Incorporated. | ||
All rights reserved. | ||
See ./LICENSE� ETen-B5-H` ^ |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
%%Copyright: ----------------------------------------------------------- | ||
%%Copyright: Copyright 1990-2009 Adobe Systems Incorporated. | ||
%%Copyright: All rights reserved. | ||
%%Copyright: | ||
%%Copyright: Redistribution and use in source and binary forms, with or | ||
%%Copyright: without modification, are permitted provided that the | ||
%%Copyright: following conditions are met: | ||
%%Copyright: | ||
%%Copyright: Redistributions of source code must retain the above | ||
%%Copyright: copyright notice, this list of conditions and the following | ||
%%Copyright: disclaimer. | ||
%%Copyright: | ||
%%Copyright: Redistributions in binary form must reproduce the above | ||
%%Copyright: copyright notice, this list of conditions and the following | ||
%%Copyright: disclaimer in the documentation and/or other materials | ||
%%Copyright: provided with the distribution. | ||
%%Copyright: | ||
%%Copyright: Neither the name of Adobe Systems Incorporated nor the names | ||
%%Copyright: of its contributors may be used to endorse or promote | ||
%%Copyright: products derived from this software without specific prior | ||
%%Copyright: written permission. | ||
%%Copyright: | ||
%%Copyright: THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND | ||
%%Copyright: CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, | ||
%%Copyright: INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
%%Copyright: MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
%%Copyright: DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR | ||
%%Copyright: CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
%%Copyright: SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
%%Copyright: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
%%Copyright: LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
%%Copyright: HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | ||
%%Copyright: CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
%%Copyright: OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
%%Copyright: SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
%%Copyright: ----------------------------------------------------------- |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
/* Copyright 2014 Mozilla Foundation | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
:root { | ||
--panel-width: 300px; | ||
} | ||
|
||
#PDFBug, | ||
#PDFBug :is(input, button, select) { | ||
font: message-box; | ||
} | ||
#PDFBug { | ||
background-color: rgb(255 255 255); | ||
border: 1px solid rgb(102 102 102); | ||
position: fixed; | ||
top: 32px; | ||
right: 0; | ||
bottom: 0; | ||
font-size: 10px; | ||
padding: 0; | ||
width: var(--panel-width); | ||
} | ||
#PDFBug .controls { | ||
background: rgb(238 238 238); | ||
border-bottom: 1px solid rgb(102 102 102); | ||
padding: 3px; | ||
} | ||
#PDFBug .panels { | ||
inset: 27px 0 0; | ||
overflow: auto; | ||
position: absolute; | ||
} | ||
#PDFBug .panels > div { | ||
padding: 5px; | ||
} | ||
#PDFBug button.active { | ||
font-weight: bold; | ||
} | ||
.debuggerShowText, | ||
.debuggerHideText:hover { | ||
background-color: rgb(255 255 0 / 0.25); | ||
} | ||
#PDFBug .stats { | ||
font-family: courier; | ||
font-size: 10px; | ||
white-space: pre; | ||
} | ||
#PDFBug .stats .title { | ||
font-weight: bold; | ||
} | ||
#PDFBug table { | ||
font-size: 10px; | ||
white-space: pre; | ||
} | ||
#PDFBug table.showText { | ||
border-collapse: collapse; | ||
text-align: center; | ||
} | ||
#PDFBug table.showText, | ||
#PDFBug table.showText :is(tr, td) { | ||
border: 1px solid black; | ||
padding: 1px; | ||
} | ||
#PDFBug table.showText td.advance { | ||
color: grey; | ||
} | ||
|
||
#viewer.textLayer-visible .textLayer { | ||
opacity: 1; | ||
} | ||
|
||
#viewer.textLayer-visible .canvasWrapper { | ||
background-color: rgb(128 255 128); | ||
} | ||
|
||
#viewer.textLayer-visible .canvasWrapper canvas { | ||
mix-blend-mode: screen; | ||
} | ||
|
||
#viewer.textLayer-visible .textLayer span { | ||
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: rgb(255 0 0 / 0.3); | ||
} | ||
|
||
#viewer.textLayer-hover .textLayer span:hover { | ||
background-color: rgb(255 255 255); | ||
color: rgb(0 0 0); | ||
} | ||
|
||
#viewer.textLayer-shadow .textLayer span { | ||
background-color: rgb(255 255 255 / 0.6); | ||
color: rgb(0 0 0); | ||
} |
Oops, something went wrong.