mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Stop including cidmaps.js
In b5b94a4af3
, i.e. PR #4259, we stopped using cidmaps.js. Despite that, it's still included when PDF.js is built. At almost 0.5 MB (and approx. 7000 lines), this is currently the single largest file in the codebase.
Including such a large file in the builds, when it is not actually used, seems extremely wasteful; hence this patch.
This commit is contained in:
parent
1e21bac9d3
commit
c3c72948b9
2 changed files with 5 additions and 7 deletions
|
@ -14,12 +14,11 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* globals assert, bytesToString, CIDToUnicodeMaps, error, ExpertCharset,
|
||||
ExpertSubsetCharset, FileReaderSync, GlyphsUnicode, info, isArray,
|
||||
isNum, ISOAdobeCharset, Stream, stringToArray, stringToBytes,
|
||||
string32, TextDecoder, warn, Lexer, Util, FONT_IDENTITY_MATRIX,
|
||||
FontRendererFactory, shadow, isString, IdentityCMap, Name,
|
||||
CMapFactory, PDFJS, readUint32, FontType */
|
||||
/* globals FONT_IDENTITY_MATRIX, FontType, warn, GlyphsUnicode, error, string32,
|
||||
readUint32, stringToArray, Stream, FontRendererFactory, shadow,
|
||||
bytesToString, info, assert, IdentityCMap, Name, CMapFactory, PDFJS,
|
||||
isNum, Lexer, isArray, ISOAdobeCharset, ExpertCharset,
|
||||
ExpertSubsetCharset, Util */
|
||||
|
||||
'use strict';
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ var otherFiles = [
|
|||
'core/core.js',
|
||||
'core/obj.js',
|
||||
'core/charsets.js',
|
||||
'core/cidmaps.js',
|
||||
'core/annotation.js',
|
||||
'core/function.js',
|
||||
'core/colorspace.js',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue