Brian Ng
5365fa9de7
Fix typo
11 years ago
Yury Delendik
dae92b9cc7
Uses float number formatter to print numbers in SVG
11 years ago
Yury Delendik
ab8270ae3a
Fixes searchRange calculation
11 years ago
Yury Delendik
42771159ca
Removes stringToArray
11 years ago
Yury Delendik
350556f085
Removes bytesToString/stringToArray conversions in the font.js
11 years ago
Tim van der Meij
b6e4ac9070
Nit fixes for svg.js
11 years ago
Yury Delendik
56f0539045
Reduces amount of used memory during PNG creation.
11 years ago
pramodhkp
458b69b649
Adds image and mask features, fixes clippath
11 years ago
Jonas Jenwald
66c56ac546
Fixes a regression from PR 4982
...
After PR 4982, the rendering of the first two pages of http://www.openmagazin.cz/pdf/2011/openMagazin-2011-04.pdf (from issue 215) no longer completes.
The issue is that we cannot have `args === null` in `PartialEvaluator_buildPath`, but *must* use an empty array instead.
In this patch I've also moved the `argsLength` variable definition in `EvaluatorPreprocessor_read`, to make sure that it's always defined.
11 years ago
Rob Wu
58cd3349db
AES cipher: make padding optional
...
Fixes #5152
11 years ago
Nicholas Nethercote
f82977caf9
Simplify isIdentityUnicode detection.
11 years ago
Nicholas Nethercote
6c8cca1284
Add IdentityToUnicodeMap class.
...
When loading the PDF from issue #4935 , this change reduces peak RSS from
~2400 to ~300 MiB, and improves overall speed by ~81%, from 6336 ms to
1222 ms.
11 years ago
Nicholas Nethercote
9576047f0d
Add ToUnicodeMap class.
11 years ago
Tim van der Meij
238a5f8a30
Fixes CCITTFaxStream regression
11 years ago
Jonas Jenwald
643ad37f2a
Revert commit 9a41659
(PR 5005) for breaking the loading of certain PDF files in the Firefox addon when range requests are active
11 years ago
Yury Delendik
682b93ac9e
Fixes lint errors
11 years ago
Yury Delendik
cc180d7e2b
Removes some bind() calls from fetchAsync
11 years ago
Tim van der Meij
5cc7d23066
Properly set this.eof in CCITTFaxStream
11 years ago
fkaelberer
5b83e0b9a3
Faster JBIG2 bitmap decoding
11 years ago
Nicholas Nethercote
51055e5836
Make IdentityCMaps more compact.
...
IdentityCMap uses an array to represent a 16-bit unsigned identity
function. This is very space-inefficient, and some files cause multiple
IdentityCMaps to be instantiated (e.g. the one from #4580 has 74).
This patch make the representation implicit.
When loading the PDF from issue #4580 , this change reduces peak RSS from
~370 to ~280 MiB. It also improves overall speed on that PDF by ~30%,
going from 522 ms to 366 ms.
11 years ago
Yury Delendik
f750e35224
Optimizes functions to not create arrays
11 years ago
Yury Delendik
cb81bd6be6
Compiles some of the FunctionType 4
11 years ago
Jonas Jenwald
8ecbb4da05
Adjust the heuristics to recognize more cases of unknown glyphs for |toUnicode| (issue 5070)
11 years ago
Jonas Jenwald
b918df3547
Re-factor heuristics to recognize unknown glyphs for |toUnicode|
11 years ago
Jonas Jenwald
4b54d6fd43
Add strict equalities in src/core/stream.js
11 years ago
Jonas Jenwald
7fa204c805
Add strict equalities in src/core/parser.js
11 years ago
Tim van der Meij
4899e9e54f
Use strict equalities in src/core/jbig2.js
11 years ago
Tim van der Meij
5d0fde4a2c
Use strict equalities in src/core/jpx.js
11 years ago
Tim van der Meij
2796d1bf10
Use strict equalities in src/core/jpg.js
11 years ago
Tim van der Meij
160c7cab33
Use strict equalities in src/core/image.js
11 years ago
Jonas Jenwald
fb9fea2f36
Add strict equalities in src/core/worker.js
11 years ago
Jonas Jenwald
c9fb3e1b6d
Add strict equalities in src/core/ps_parser.js
11 years ago
Jonas Jenwald
ee371fe6b2
Add strict equalities in src/core/pattern.js
11 years ago
Jonas Jenwald
ee0c0dd8a9
Add strict equalities in src/core/obj.js
11 years ago
Jonas Jenwald
a154ca2dd3
Add strict equalities in src/core/murmurhash3.js
11 years ago
Jonas Jenwald
8f5894d81a
Add strict equalities in src/core/function.js
11 years ago
Jonas Jenwald
97b3eadbc4
Add strict equalities in src/core/fonts.js
11 years ago
Jonas Jenwald
87038e44cd
Add strict equalities in src/core/evaluator.js
11 years ago
Jonas Jenwald
83a4c68df9
Add strict equalities in src/core/core.js
11 years ago
Jonas Jenwald
0012b8803c
Add strict equalities in src/core/colorspace.js
11 years ago
Jonas Jenwald
84503c656d
Add strict equalities in src/core/bidi.js
11 years ago
Jonas Jenwald
2162a19ed9
Add strict equalities in src/core/arithmetic_decoder.js
11 years ago
Jonas Jenwald
9cb09324d2
Add strict equalities in src/core/annotation.js
11 years ago
Jonas Jenwald
4a82dac45b
Add strict equalities in src/display/svg.js
11 years ago
Jonas Jenwald
790ec92a34
Add strict equalities in src/display/pattern_helper.js
11 years ago
Jonas Jenwald
ec6ec13506
Add strict equalities in src/display/metadata.js
11 years ago
Jonas Jenwald
c1f1f2f0e1
Add strict equalities in src/display/canvas.js
11 years ago
Jonas Jenwald
a4b06d7a02
Add strict equalities in src/display/api.js
11 years ago
Jonas Jenwald
ccd71e0a94
Add strict equalities in src/shared/util.js
11 years ago
Jonas Jenwald
42e541a671
Add strict equalities in src/shared/fonts_utils.js
11 years ago