pdf.js/src
Jonas Jenwald f19a1db414 Create a IdentityToUnicodeMap in evaluator.js when toUnicode contains IdentityH/IdentityV
Currently if a font contains a `toUnicode` entry, we always create a new `ToUnicodeMap` in evaluator.js. This is done even for `IdentityV/IdentityH`, despite to possibility to use the much more compact `IdentityToUnicodeMap` representation.
This patch refactors the `IdentityH/IdentityV` cases, to:
 - Avoid calling `IdentityCMap.getMap`, since this prevents allocating and iterating through an array with 65536 elements.

 - Ensure that the handling of `toUnicode` is actually correct in fonts.js.
We rely on `toUnicode instanceof IdentityToUnicodeMap` in a few places, and currently this does not work correctly for `IdentityH/IdentityV`.
2015-02-09 16:52:31 +01:00
..
core Create a IdentityToUnicodeMap in evaluator.js when toUnicode contains IdentityH/IdentityV 2015-02-09 16:52:31 +01:00
display Amend the docs for |disableAutoFetch| to mention that streaming must also be disabled 2015-01-14 18:33:12 +01:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Use the |shadow| function from src/shared/util.js in viewer.js 2015-01-31 22:43:30 +01:00
doc_helper.js Creates make.js code to build jsdoc. 2014-04-13 15:54:24 -05:00
pdf.js Enforcing JSHint's undef option 2014-07-19 16:41:07 +02:00
worker_loader.js Stop including cidmaps.js 2014-07-25 21:53:09 +02:00