Skip to content

Commit

Permalink
feat(pdf): Upgrade pdf.js to v2.6.347 and closure compiler to v20200719
Browse files Browse the repository at this point in the history
  • Loading branch information
jstoffan committed Sep 9, 2020
1 parent 4047402 commit 73e9ac8
Show file tree
Hide file tree
Showing 186 changed files with 97,383 additions and 55 deletions.
Binary file not shown.
21 changes: 6 additions & 15 deletions build/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,19 @@ const webpackConfig = require('./webpack.karma.config');

// These should be updated to match the Preview version in package.json whenever a file in that third party directory
// is updated. Also, update the matching configuration in constants.js, which is needed for main preview functionality
const DOC_STATIC_ASSETS_VERSION = '2.16.0';
const DOC_STATIC_ASSETS_VERSION = '2.50.0';
const MEDIA_STATIC_ASSETS_VERSION = '2.14.0';
const MODEL3D_STATIC_ASSETS_VERSION = '1.12.0';
const SWF_STATIC_ASSETS_VERSION = '0.112.0';
const TEXT_STATIC_ASSETS_VERSION = '0.114.0';

const getTestFile = (src) => {
const getTestFile = src => {
if (!src) {
return [
'src/lib/**/*-test.js',
'src/lib/**/*-test.html'
];
return ['src/lib/**/*-test.js', 'src/lib/**/*-test.html'];
}

if (src.endsWith('/')) {
return [
`src/lib/${src}**/*-test.js`,
`src/lib/${src}**/*-test.html`
];
return [`src/lib/${src}**/*-test.js`, `src/lib/${src}**/*-test.html`];
}

const frags = src.split('/');
Expand All @@ -32,10 +26,7 @@ const getTestFile = (src) => {

const path = src.replace(fileName, '');
const base = path ? `src/lib/${path}` : 'src/lib';
return [
`${base}/__tests__/${fileName}-test.js`,
`${base}/__tests__/${fileName}-test.html`
];
return [`${base}/__tests__/${fileName}-test.js`, `${base}/__tests__/${fileName}-test.html`];
};

module.exports = config =>
Expand Down Expand Up @@ -92,7 +83,7 @@ module.exports = config =>
files: [
'https://cdn01.boxcdn.net/polyfills/core-js/2.5.3/core.min.js',
`src/third-party/model3d/${MODEL3D_STATIC_ASSETS_VERSION}/three.min.js`,
`src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/**/*.js`,
`src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/**/*.min.js`,
`src/third-party/media/${MEDIA_STATIC_ASSETS_VERSION}/**/*.js`,
`src/third-party/model3d/${MODEL3D_STATIC_ASSETS_VERSION}/**/*.js`,
`src/third-party/swf/${SWF_STATIC_ASSETS_VERSION}/**/*.js`,
Expand Down
25 changes: 0 additions & 25 deletions build/minify_pdfjs.sh

This file was deleted.

48 changes: 34 additions & 14 deletions build/upgrade_pdfjs.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
# Run with specific branch/tag (e.g. ./upgrade_pdfjs.sh tags/v2.2.228) or with no arguments to use master

DOC_COMPILER_BINARY="build/closure-compiler-v20200719.jar"
DOC_STATIC_ASSETS_BRANCH=${1:-master}
DOC_STATIC_ASSETS_VERSION=$(./build/current_version.sh)
DOC_STATIC_ASSETS_PATH="src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}"
Expand All @@ -12,38 +13,57 @@ echo "Creating target directory at $DOC_STATIC_ASSETS_PATH..."
echo "-----------------------------------------------------------------------------------"

rm -rf ${DOC_STATIC_ASSETS_PATH}
DOC_CURRENT_ASSETS_VERSIONS=`ls src/third-party/doc | sort -t "." -k1,1n -k2,2n -k3,3n | tail -1`

DOC_LATEST_STATIC_ASSETS=`ls src/third-party/doc | sort -t "." -k1,1n -k2,2n -k3,3n | tail -1`
echo "Usig base version from $DOC_LATEST_STATIC_ASSETS"
`cp -R src/third-party/doc/${DOC_LATEST_STATIC_ASSETS} ${DOC_STATIC_ASSETS_PATH}`
echo "Using base version from $DOC_CURRENT_ASSETS_VERSIONS"
mkdir ${DOC_STATIC_ASSETS_PATH}
\cp -R src/third-party/doc/${DOC_CURRENT_ASSETS_VERSIONS}/exif.js ${DOC_STATIC_ASSETS_PATH}/
\cp -R src/third-party/doc/${DOC_CURRENT_ASSETS_VERSIONS}/exif.min.js ${DOC_STATIC_ASSETS_PATH}/
\cp -R src/third-party/doc/${DOC_CURRENT_ASSETS_VERSIONS}/images ${DOC_STATIC_ASSETS_PATH}/images

echo "-----------------------------------------------------------------------------------"
echo "Cloining pdfjs-dist repo at branch: $DOC_STATIC_ASSETS_BRANCH..."
echo "Cloning pdfjs-dist repo at branch: $DOC_STATIC_ASSETS_BRANCH..."
echo "-----------------------------------------------------------------------------------"
rm -rf ./pdfjs-dist/
git clone https://github.com/mozilla/pdfjs-dist.git --depth 1 --single-branch --branch ${DOC_STATIC_ASSETS_BRANCH}

echo "-----------------------------------------------------------------------------------"
echo "Copying relevant files to Preview third-party dir..."
echo "Copying relevant files to third-party directory..."
echo "-----------------------------------------------------------------------------------"
\cp -rf pdfjs-dist/build/pdf.js src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/
\cp -rf pdfjs-dist/build/pdf.worker.js src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/
\cp -rf pdfjs-dist/web/pdf_viewer.js src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/
\cp -rf pdfjs-dist/web/pdf_viewer.css src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/
\cp -rf pdfjs-dist/cmaps/* src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/cmaps/
\cp -rf pdfjs-dist/es5/build/pdf.js ${DOC_STATIC_ASSETS_PATH}
\cp -rf pdfjs-dist/es5/build/pdf.min.js ${DOC_STATIC_ASSETS_PATH}
\cp -rf pdfjs-dist/es5/build/pdf.worker.js ${DOC_STATIC_ASSETS_PATH}
\cp -rf pdfjs-dist/es5/build/pdf.worker.min.js ${DOC_STATIC_ASSETS_PATH}
\cp -rf pdfjs-dist/es5/web/pdf_viewer.css ${DOC_STATIC_ASSETS_PATH}
\cp -rf pdfjs-dist/es5/web/pdf_viewer.js ${DOC_STATIC_ASSETS_PATH}
\cp -rf pdfjs-dist/cmaps ${DOC_STATIC_ASSETS_PATH}/cmaps
rm -rf ./pdfjs-dist/

# Decreased default cached pages size to 5 on mobile web to lower memory usage
echo "-----------------------------------------------------------------------------------"
echo "Decreasing # of cached pages on mobile web..."
echo "-----------------------------------------------------------------------------------"
sed -e 's@var DEFAULT_CACHE_SIZE = 10;@var DEFAULT_CACHE_SIZE = /iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(navigator.userAgent) ? 5 : 10;@' -i '' src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/pdf_viewer.js
sed -e 's@var DEFAULT_CACHE_SIZE = 10;@var DEFAULT_CACHE_SIZE = /iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(navigator.userAgent) ? 5 : 10;@' -i '' ${DOC_STATIC_ASSETS_PATH}/pdf_viewer.js

# Render e-signatures without validation
echo "-----------------------------------------------------------------------------------"
echo "Enabling e-signature rendering without validation..."
echo "-----------------------------------------------------------------------------------"
sed -e 's@_this3.setFlags(_util.AnnotationFlag.HIDDEN);@\/\/_this3.setFlags(_util.AnnotationFlag.HIDDEN);@' -i '' src/third-party/doc/${DOC_STATIC_ASSETS_VERSION}/pdf.worker.js
sed -e 's@;r.setFlags(o.AnnotationFlag.HIDDEN)@@' -i '' ${DOC_STATIC_ASSETS_PATH}/pdf.worker.min.js

# Miniy the libraries
./build/minify_pdfjs.sh
# Minify using Google Closure Compiler, options:
# Output to ES5 (Box supports Chrome, Edge, IE11, Firefox, Safari, and newer versions of iOS, Android)
# Do not minify pdf.js or pdf.worker.js, as the closure compiler will mangle function names and cause bugs
echo "-----------------------------------------------------------------------------------"
echo "Minifying pdf.js files with Google Closure... Warnings are okay!"
echo "-----------------------------------------------------------------------------------"
java -jar ${DOC_COMPILER_BINARY} --rewrite_polyfills false --language_out ECMASCRIPT5 --js ${DOC_STATIC_ASSETS_PATH}/pdf_viewer.js --js_output_file ${DOC_STATIC_ASSETS_PATH}/pdf_viewer.min.js

echo "-----------------------------------------------------------------------------------"
echo "Minifying pdf.js CSS with cssnano"
echo "-----------------------------------------------------------------------------------"
./node_modules/.bin/cssnano ${DOC_STATIC_ASSETS_PATH}/pdf_viewer.css ${DOC_STATIC_ASSETS_PATH}/pdf_viewer.min.css

echo "-----------------------------------------------------------------------------------"
echo "Successfully updated and minified pdf.js files!"
echo "-----------------------------------------------------------------------------------"
2 changes: 1 addition & 1 deletion src/lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const PDFJS_HEIGHT_PADDING_PX = 5; // Should match VERTICAL_PADDING in pd

// These should be updated to match the Preview version in package.json whenever a file in that third party directory
// is updated. Also, update the matching configuration in karma.conf.js, which is needed for tests
export const DOC_STATIC_ASSETS_VERSION = '2.16.0';
export const DOC_STATIC_ASSETS_VERSION = '2.50.0';
export const MEDIA_STATIC_ASSETS_VERSION = '2.14.0';
export const MODEL3D_STATIC_ASSETS_VERSION = '1.12.0';
export const SWF_STATIC_ASSETS_VERSION = '0.112.0';
Expand Down
2 changes: 2 additions & 0 deletions src/lib/viewers/doc/DocBaseViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ class DocBaseViewer extends BaseViewer {
const { file, location } = this.options;
const assetUrlCreator = createAssetUrlCreator(location);
const hasDownload = checkPermission(file, PERMISSION_DOWNLOAD);
const hasForms = hasDownload && this.getViewerOption('disableForms') === false;
const hasTextLayer = hasDownload && !this.getViewerOption('disableTextLayer');
const textLayerMode = this.isMobile ? PDFJS_TEXT_LAYER_MODE.ENABLE : PDFJS_TEXT_LAYER_MODE.ENABLE_ENHANCE;

Expand All @@ -757,6 +758,7 @@ class DocBaseViewer extends BaseViewer {
imageResourcesPath: assetUrlCreator(`third-party/doc/${DOC_STATIC_ASSETS_VERSION}/images/`),
linkService: this.pdfLinkService,
maxCanvasPixels: this.isMobile ? MOBILE_MAX_CANVAS_SIZE : -1,
renderInteractiveForms: hasForms,
textLayerMode: hasTextLayer ? textLayerMode : PDFJS_TEXT_LAYER_MODE.DISABLE,
});
}
Expand Down
Binary file added src/third-party/doc/2.50.0/cmaps/78-EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/78-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/78-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/78-RKSJ-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/78-RKSJ-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/78-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/78ms-RKSJ-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/83pv-RKSJ-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/90ms-RKSJ-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/90ms-RKSJ-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/90msp-RKSJ-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/90msp-RKSJ-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/90pv-RKSJ-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/90pv-RKSJ-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Add-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Add-RKSJ-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Add-RKSJ-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Add-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-CNS1-0.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-CNS1-1.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-CNS1-2.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-CNS1-3.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-CNS1-4.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-CNS1-5.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-CNS1-6.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-GB1-0.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-GB1-1.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-GB1-2.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-GB1-3.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-GB1-4.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Adobe-GB1-5.bcmap
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 added src/third-party/doc/2.50.0/cmaps/B5-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/B5-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/B5pc-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/B5pc-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/CNS-EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/CNS-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/CNS1-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/CNS1-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/CNS2-H.bcmap
Binary file not shown.
3 changes: 3 additions & 0 deletions src/third-party/doc/2.50.0/cmaps/CNS2-V.bcmap
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 added src/third-party/doc/2.50.0/cmaps/ETHK-B5-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/ETHK-B5-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/ETen-B5-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/ETen-B5-V.bcmap
Binary file not shown.
3 changes: 3 additions & 0 deletions src/third-party/doc/2.50.0/cmaps/ETenms-B5-H.bcmap
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 added src/third-party/doc/2.50.0/cmaps/ETenms-B5-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Ext-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Ext-RKSJ-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Ext-RKSJ-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Ext-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GB-EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GB-EUC-V.bcmap
Binary file not shown.
4 changes: 4 additions & 0 deletions src/third-party/doc/2.50.0/cmaps/GB-H.bcmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
�RCopyright 1990-2009 Adobe Systems Incorporated.
All rights reserved.
See ./LICENSE!!��]aX!!]`�21�> �p �z�$]��"R�d�-U�7�*�4�%�+ �Z �{�/�%�<�9K�b�1]�.�"� �`]�,�"]�
�"]�h�"]�F�"]�$�"]��"]�`�"]�>�"]��"]�z�"]�X�"]�6�"]��"]�r�"]�P�"]�.�"]� �"]�j�"]�H�"]�&�"]��"]�b�"]�@�"]��"]�|�"]�Z�"]�8�"]��"]�t�"]�R�"]�0�"]��"]�l�"]�J�"]�(�"]��"]�d�"]�B�"]� �"X�~�']�W�"]�5�"]��"]�q�"]�O�"]�-�"]� �"]�i�"]�G�"]�%�"]��"]�a�"]�?�"]��"]�{�"]�Y�"]�7�"]��"]�s�"]�Q�"]�/�"]��"]�k�"]�I�"]�'�"]��"]�c�"]�A�"]��"]�}�"]�[�"]�9
Expand Down
Binary file added src/third-party/doc/2.50.0/cmaps/GB-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBK-EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBK-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBK2K-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBK2K-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBKp-EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBKp-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBT-EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBT-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBT-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBT-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBTpc-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBpc-EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/GBpc-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKdla-B5-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKdla-B5-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKdlb-B5-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKdlb-B5-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKgccs-B5-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKm314-B5-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKm471-B5-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKscs-B5-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/HKscs-B5-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Hankaku.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Hiragana.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/KSC-EUC-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/KSC-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/KSC-H.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/KSC-Johab-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/KSC-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/KSCms-UHC-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/KSCpc-EUC-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Katakana.bcmap
Binary file not shown.
36 changes: 36 additions & 0 deletions src/third-party/doc/2.50.0/cmaps/LICENSE
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 added src/third-party/doc/2.50.0/cmaps/NWP-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/NWP-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/RKSJ-H.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/RKSJ-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/Roman.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniCNS-UCS2-V.bcmap
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 added src/third-party/doc/2.50.0/cmaps/UniCNS-UTF8-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniGB-UCS2-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniGB-UTF16-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniGB-UTF32-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniGB-UTF8-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniJIS-UCS2-V.bcmap
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 added src/third-party/doc/2.50.0/cmaps/UniJIS-UTF8-V.bcmap
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 added src/third-party/doc/2.50.0/cmaps/UniKS-UCS2-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniKS-UTF16-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniKS-UTF32-V.bcmap
Binary file not shown.
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/UniKS-UTF8-V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/V.bcmap
Binary file not shown.
Binary file added src/third-party/doc/2.50.0/cmaps/WP-Symbol.bcmap
Binary file not shown.
Loading

0 comments on commit 73e9ac8

Please sign in to comment.