mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Add basic unit-tests for unicode.js
Re: issue 7261.
This commit is contained in:
parent
f4e6afb74f
commit
c5c5a2a71f
3 changed files with 137 additions and 3 deletions
|
@ -50,12 +50,13 @@ function initializePDFJS(callback) {
|
|||
'pdfjs/core/parser', 'pdfjs/core/evaluator', 'pdfjs/core/cmap',
|
||||
'pdfjs/core/worker', 'pdfjs/core/network', 'pdfjs/core/type1_parser',
|
||||
'pdfjs/core/cff_parser', 'pdfjs/display/api', 'pdfjs/display/metadata',
|
||||
'pdfjs/display/dom_utils', 'pdfjs-web/ui_utils'],
|
||||
'pdfjs/display/dom_utils', 'pdfjs-web/ui_utils', 'pdfjs/core/unicode',
|
||||
'pdfjs/core/glyphlist'],
|
||||
function (sharedUtil, displayGlobal, corePrimitives, coreAnnotation,
|
||||
coreCrypto, coreStream, coreFonts, corePsParser, coreFunction,
|
||||
coreParser, coreEvaluator, coreCMap, coreWorker, coreNetwork,
|
||||
coreType1Parser, coreCFFParser, displayAPI, displayMetadata,
|
||||
displayDOMUtils, webUIUtils) {
|
||||
displayDOMUtils, webUIUtils, coreUnicode, coreGlyphList) {
|
||||
|
||||
pdfjsLibs = {
|
||||
sharedUtil: sharedUtil,
|
||||
|
@ -77,7 +78,9 @@ function initializePDFJS(callback) {
|
|||
displayAPI: displayAPI,
|
||||
displayMetadata: displayMetadata,
|
||||
displayDOMUtils: displayDOMUtils,
|
||||
webUIUtils: webUIUtils
|
||||
webUIUtils: webUIUtils,
|
||||
coreUnicode: coreUnicode,
|
||||
coreGlyphList: coreGlyphList,
|
||||
};
|
||||
|
||||
// Expose all loaded internal exported members to global scope.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue