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:
Jonas Jenwald 2014-07-25 15:28:31 +02:00
parent 1e21bac9d3
commit c3c72948b9
2 changed files with 5 additions and 7 deletions

View File

@ -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';

View File

@ -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',