Jonas Jenwald
87d38b0692
Remove LegacyPromise in src/core/worker.js
2014-05-03 00:09:49 +02:00
Yury Delendik
c68ba07c1c
Merge pull request #4727 from Snuffleupagus/remove-LegacyPromise-annotation.js
...
Remove LegacyPromise in src/shared/annotation.js
2014-05-02 17:04:28 -05:00
Yury Delendik
a39f44fdf2
Merge pull request #4725 from Snuffleupagus/remove-LegacyPromise-pdf_manager.js
...
Remove LegacyPromise in src/core/pdf_manager.js
2014-05-02 17:02:05 -05:00
Jonas Jenwald
caad87eba5
Remove LegacyPromise in src/core/pdf_manager.js
2014-05-02 21:43:28 +02:00
Jonas Jenwald
cb59e7f872
Remove LegacyPromise in src/shared/annotation.js
2014-05-02 21:05:03 +02:00
Tim van der Meij
6b9aeb34f1
Fixes rendering of PDFs with nested trailer dictionary
2014-05-02 21:01:34 +02:00
Yury Delendik
f0043f8727
Merge pull request #4730 from yurydelendik/disableworker
...
Fixes disableWorker regression
2014-05-02 12:29:57 -05:00
Yury Delendik
e45f4767dd
Fixes disableWorker regression
2014-05-02 12:23:46 -05:00
Yury Delendik
2b82eb0161
Fixes cancel rendering regression
2014-05-01 15:51:38 -05:00
Tim van der Meij
3ddc534920
Tiny updates
2014-05-01 21:05:32 +02:00
Jonas Jenwald
b6ff4aea2b
Add onError function to ChunkedStreamManager
2014-05-01 18:20:55 +02:00
Jonas Jenwald
89c11ca9a2
Remove LegacyPromise in src/core/chunked_stream.js
2014-05-01 18:17:42 +02:00
Yury Delendik
aab48a2169
Merge pull request #4709 from pramodhkp/refactoring
...
Remove legacy promises from api.js
2014-05-01 11:10:03 -05:00
Pramodh KP
8616b2ccf3
Remove LegacyPromise from src/core/obj.js
2014-05-01 19:22:47 +05:30
Pramodh KP
0d5b41633f
Remove legacy promises from api.js
2014-05-01 18:13:13 +05:30
Jonas Jenwald
0fa154be4e
Amend GlyphMapForStandardFonts to fix issue 4276
2014-04-30 15:56:40 +02:00
Yury Delendik
8e517b6d81
Merge pull request #4700 from pramodhkp/refactoring
...
Reject polyfill and createPromiseCapability
2014-04-29 09:09:04 -05:00
Pramodh KP
04b1eefb1d
Added reject polyfill and PromiseCapability
2014-04-29 19:36:37 +05:30
Jonas Jenwald
747dec16b2
Prevent trying to map characters to the specials unicode block in adjustMapping (issue 4650)
2014-04-28 23:33:54 +02:00
Yury Delendik
58f697f977
Merge pull request #4528 from bthorben/lessColorConversion
...
Less color conversion
2014-04-28 08:28:33 -05:00
Yury Delendik
98e023e464
Guesses Type1C font type based on file content
2014-04-24 11:48:18 -05:00
Thorben Bochenek
e8f0700bfa
Move the colour conversion to jpg.js
...
Benchmarking shows that this improves performance for the invitation document
from https://github.com/mozilla/pdf.js/issues/3809 by 35%
2014-04-24 15:07:12 +02:00
Thorben Bochenek
e7fe45a5c4
Refactor jpg.js and include forceRGBoutput, correct style of image.js
...
This refactors getData to be more readable and extracts all the color
conversion algorithms to their own functions. The resulting code was then
cleaned up.
This also introduces a flag `forceRGBoutput` to getData, that allows to always
get the data as a `width * height * 3` bytes long RGB buffer
2014-04-24 12:55:37 +02:00
p01
8f9bd33a57
PDFImage_resize: copy in place with alpha and ~5x speed up
2014-04-23 17:27:02 +02:00
Yury Delendik
bda1865fb8
Merge pull request #4520 from timvandermeij/annotation-icon-size
...
Force default icon size for Text annotations without appearance stream
2014-04-22 16:13:50 -05:00
p01
a66326cc54
Optimized JPX decoder ~6% faster
2014-04-22 15:34:26 +02:00
Yury Delendik
0845f90714
Merge pull request #4655 from Snuffleupagus/issue-4443
...
Add integer conversion to RGB colour values in convertToRgb in DeviceCmykCS (issue 4443)
2014-04-21 09:18:36 -05:00
Jonas Jenwald
ead5653cdc
Add integer conversion to RGB colour values in convertToRgb in DeviceCmykCS (issue 4443)
2014-04-20 02:23:45 +02:00
fkaelberer
11f565547c
Fix corrupted images #4649
2014-04-19 19:34:42 +02:00
Tim van der Meij
8d365b23ca
Force default icon size for Text annotations without appearance stream
2014-04-18 21:11:56 +02:00
Samuel Chantaraud
25ee0e8572
Preliminary attachments support
...
Added a partial Filespec support
Added getAttachments in API
Added a new attachments view in UI (with a new icon by @shorlander)
2014-04-18 12:11:00 -04:00
Yury Delendik
9a5c121e4d
Fixes invalid CFF name for Mac OSX
2014-04-17 10:50:06 -05:00
Yury Delendik
a22258a6b3
Merge pull request #4638 from yurydelendik/issue4630
...
Recognizes ASCII type1 encoding
2014-04-17 08:39:31 -05:00
Yury Delendik
558c159e3d
Merge pull request #4637 from fkaelberer/issue3483
...
Fix #3483 and simplify readCodingpasses()
2014-04-17 08:29:59 -05:00
Yury Delendik
bf3a2488df
Recognizes ascii type1 encoding
2014-04-17 07:52:33 -05:00
fkaelberer
f52dfe4c81
Fix #3483 and simplify readCodingpasses()
2014-04-16 21:40:37 +02:00
fkaelberer
b06c10cbbd
rename getUint32 to getInt32 and collect readInt*() in util.js
2014-04-16 21:31:16 +02:00
Yury Delendik
a468f7215d
Fixes spacing in the text layer builder
2014-04-16 11:14:57 -05:00
Yury Delendik
dea4bdac49
Merge pull request #4538 from fkaelberer/lessCopyingInJPX
...
Less copying in the JPX decoder
2014-04-16 08:52:50 -05:00
Samuel Chantaraud
7a4543e348
Prevent the annotationLayer to be recreated when the page is redrawn
...
This allows interactive annotations to keep their states after a resize
2014-04-16 08:13:54 -04:00
fkaelberer
04602c8a5e
Less copying in the JPX coder, merged and rebased
2014-04-16 10:40:04 +02:00
Rob Wu
2e97c0d085
Remove some unused variables from src/
...
Only obviously useless, local variables have been removed.
2014-04-15 17:10:23 +02:00
Yury Delendik
f954cde8f4
Merge pull request #4581 from Snuffleupagus/issue-4575
...
Check that images have valid dimensions (issue 4575)
2014-04-14 15:23:44 -05:00
Yury Delendik
eb8924a79f
Merge pull request #4613 from yurydelendik/buildImagePromise
...
Refactors buildImage to use Promise; don't draw bad images
2014-04-14 15:23:06 -05:00
Yury Delendik
a00f854848
Refactors buildImage to use Promise; don't draw bad images
2014-04-14 15:22:35 -05:00
Yury Delendik
21f5dc22f3
Merge pull request #4616 from yurydelendik/jsdoc
...
Creates make.js code to build jsdoc.
2014-04-14 14:44:30 -05:00
Yury Delendik
2ca2c387fc
Creates make.js code to build jsdoc.
2014-04-13 15:54:24 -05:00
Joshua T Kalis
5828b2c687
Refactor - remove redundant function and all references
...
The function `assertWllFormed` was doing nothing different than `assert` which is
available in the same namespace. Removing it will lighten the filesize - albeit
very slightly - and reduce complexity.
2014-04-13 16:18:07 -04:00
Yury Delendik
bb739c011e
Merge pull request #4606 from timvandermeij/xrefentry
...
Makes PDF files load when xrefEntry is undefined
2014-04-12 19:37:14 -05:00
Yury Delendik
65fa25ca36
Fixes number of glyphs in the generated font
2014-04-12 13:25:13 -05:00