Christian Krebs
543117dd0e
Added TC for issue 4436
11 years ago
Christian Krebs
fc9edfcf76
Introduce paintSolidColorImageMask command to handle 1x1 solid image masks
...
See https://github.com/mozilla/pdf.js/issues/4436 for details
11 years ago
Thorben Bochenek
c547f17ee5
Add Test for PDFDocumentProxy_getPageIndex
11 years ago
Thorben Bochenek
0fa44d7233
refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
...
Rename pdfModel to pdfDocument to let the name closer resemble what the
variable actually holds
11 years ago
Yury Delendik
329d0ec30b
Merge pull request #4464 from bthorben/issue#4461
...
Fixes pages without Resources in their dictionary
11 years ago
Thorben Bochenek
1d663876b1
Add load test for Issue #4461
11 years ago
Thorben Bochenek
8edebc797b
Refactor and fix style of core.js
11 years ago
Thorben Bochenek
1ddb019449
Fix Issue #4461 : Pages without \Resources in their dictionary fail to load
...
When no "\Resource" entry could be found return an empty dictionary
11 years ago
Nicholas Nethercote
292b96a0bf
Make fnArray always be a plain array.
...
This makes the code much simpler, and the extra memory use is tiny -- a vanilla
1000 element array is only 4000 bytes larger than a Uint32Array of the same
size.
11 years ago
Nicholas Nethercote
42d175efd4
Fix some indenting within OperatorList.
11 years ago
Brendan Dahl
1802ffffb8
Merge pull request #4447 from nnethercote/object-reduction
...
Allocate fewer objects
11 years ago
Brendan Dahl
68be273c69
Merge pull request #4470 from yurydelendik/packcmap
...
CMaps binary packing
11 years ago
Yury Delendik
1d8f6cf0e7
Updates make.js for cmaps and make binary cmaps by default
11 years ago
Yury Delendik
734d6f346e
Removes external/cmaps; adds binary cmaps to the repo
11 years ago
Brendan Dahl
ad4be03a08
Merge pull request #4440 from bthorben/refactor/pdf_manager.js
...
refactor src/core/pdf_manager.js: rename pdfModel to pdfDocument
11 years ago
Yury Delendik
adb9af7b8e
Merge pull request #4477 from yurydelendik/chromehidpi
...
Fixes HiDPI icons of the secondary toolbar for Chrome
11 years ago
Yury Delendik
e4d0af2687
Fixes HiDPI icons of the secondary toolbar for Chrome
11 years ago
Yury Delendik
59829bb49f
Merge pull request #4473 from Snuffleupagus/bug-866395-partial
...
Prevent infinite loop in CFFParser_parseHeader
11 years ago
Jonas Jenwald
5f021b067c
Prevent infinite loop in CFFParser_parseHeader
11 years ago
Brendan Dahl
1a6e103c35
Merge pull request #4463 from sukop/patch-1
...
Fix copy-paste typo
11 years ago
Yury Delendik
3e8ea958ae
Quick notes about the format
11 years ago
Tim van der Meij
3b3e96575e
Merge pull request #4454 from brendandahl/gaia-css-clean
...
Fix gaia css lint errors.
11 years ago
Yury Delendik
69efd9cb96
CMaps binary packing
11 years ago
Tim van der Meij
cd1e350128
Merge pull request #4468 from Snuffleupagus/make-braces
...
Fix coding style in make.js
11 years ago
Tim van der Meij
c7fe33a081
Merge pull request #4467 from Snuffleupagus/test-braces
...
Fix coding style in /test
11 years ago
Tim van der Meij
67c686027c
Merge pull request #4465 from Snuffleupagus/src-display-braces
...
Fix coding style in src/display
11 years ago
Tim van der Meij
a52da119d0
Merge pull request #4460 from Snuffleupagus/external-braces
...
Fix coding style in external/builder/builder.js
11 years ago
Yury Delendik
8266225b73
Merge pull request #4434 from p01/jbig2Optimizations
...
Jbig2 optimizations
11 years ago
Jonas Jenwald
855b96990c
Fix coding style in make.js
11 years ago
Jonas Jenwald
2bd81786c2
Fix coding style in test/unit/testreporter.js
11 years ago
Jonas Jenwald
9e3f7e4d6d
Fix coding style in test/unit/crypto_spec.js
11 years ago
Jonas Jenwald
6489a80dd0
Fix coding style in test/unit/font_spec.js
11 years ago
Jonas Jenwald
3cd64a85ba
Fix coding style in test/unit/function_spec.js
11 years ago
Jonas Jenwald
7d4acc13fb
Fix coding style in test/unit/parser_spec.js
11 years ago
Jonas Jenwald
9dfc26e1e3
Fix coding style in test/unit/stream_spec.js
11 years ago
Jonas Jenwald
e808bf5736
Fix coding style in test/driver.js
11 years ago
Juraj Sukop
4c2a462a76
Fix copy-paste typo
...
The Compact Font Format Specification defines the Standard String of SID 237 as "twodotenleader", and not "266 ff".
11 years ago
Jonas Jenwald
a1ee567d60
Fix coding style in src/display/api.js
11 years ago
Jonas Jenwald
bc986a3029
Fix coding style in src/display/canvas.js
11 years ago
Jonas Jenwald
4f6b363b2c
Fix coding style in external/builder/builder.js
11 years ago
Jonas Jenwald
ba8a59034c
Merge pull request #4426 from timvandermeij/extensions-chromium-syntax
...
Making extensions/chromium/*.js adhere to the style guide
11 years ago
Nicholas Nethercote
6c698519cd
Avoid allocations in executeCommand().
11 years ago
Nicholas Nethercote
3759c11f42
Avoid more allocations in bidi().
11 years ago
Nicholas Nethercote
2e93a0cc98
Avoid allocations in bidi().
11 years ago
Nicholas Nethercote
6a75e45309
Allocate fewer objects when parsing 2 and 4 byte chunks.
...
This is achieved by adding getBytes2() and getBytes4() to streams, and by
changing int16() and int32() to take multiple scalar args instead of an array
arg.
11 years ago
Nicholas Nethercote
0866ad5bff
Add a cache for glyphs.
...
This reduces memory consumption for text heavy documents. I tested five
documents and saw hit rates ranging from 97.4% to 99.8% (most of the misses are
due to |width| varying even when |fontChar| matches). On two of those documents
I saw improvements of 40 and 50 MiB.
The patch also introduces the Glyph constructor, and renames the |unicodeChars|
local variable as |unicode| for consistency with the corresponding Glyph
property.
11 years ago
Brendan Dahl
432af8b36e
Merge pull request #4451 from yurydelendik/issue4427
...
Makes firefox extension's l10n get() behavior similar to webL10n
11 years ago
Brendan Dahl
df25bea817
Fix gaia css lint errors.
11 years ago
Yury Delendik
452e71b4b0
Makes firefox extension's l10n get() behavior similar to webL10n
11 years ago
Tim van der Meij
e5cd75083f
Merge pull request #4132 from yurydelendik/minified
...
Adds make minified command
11 years ago