Vivien Nicolas
|
e953f2363c
|
Merge remote branch 'upstream/master'
|
2011-06-23 23:42:01 +02:00 |
|
Julian Viereck
|
a3d815074d
|
First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff
|
2011-06-23 23:33:24 +02:00 |
|
Julian Viereck
|
0746c7db59
|
Add PatternProxy; makes page 13 work
|
2011-06-23 23:33:24 +02:00 |
|
Julian Viereck
|
000d640258
|
Replace ImageCanvas by ScratchCanvas
|
2011-06-23 23:33:23 +02:00 |
|
Julian Viereck
|
52a117d32a
|
Fixing some smaller bugs & do some cleanup. viewer_worker.html UI is now
|
2011-06-23 23:33:23 +02:00 |
|
Julian Viereck
|
fc007b99d0
|
Introduce ImageCanvas to handle canvas rendering in WebWorker
|
2011-06-23 23:33:22 +02:00 |
|
Julian Viereck
|
61b76c7e87
|
Make fonts getting loaded by a very nasty hack
|
2011-06-23 23:33:22 +02:00 |
|
Julian Viereck
|
e15328800a
|
Most working, but once you add the font-css file to the web page, there is no font drawn at all
|
2011-06-23 23:32:24 +02:00 |
|
Julian Viereck
|
986ef148c4
|
Backup work
|
2011-06-23 23:30:54 +02:00 |
|
Vivien Nicolas
|
4d155983c5
|
Remove some hardcoded glue
|
2011-06-23 23:15:22 +02:00 |
|
Vivien Nicolas
|
1de5436561
|
Remove the ignoreFont variable
|
2011-06-23 22:22:46 +02:00 |
|
sbarman
|
8c3f5df3be
|
faxstream compiles
|
2011-06-23 10:35:08 -07:00 |
|
sbarman
|
bf6f32baa8
|
Merge branch 'master' into faxstream
|
2011-06-23 09:48:57 -07:00 |
|
sbarman
|
18afc896f6
|
fix for uncompressed flatestream blocks
|
2011-06-23 09:41:59 -07:00 |
|
sbarman
|
3f2bbbe919
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-23 08:05:00 -07:00 |
|
Vivien Nicolas
|
b54164d2a9
|
Use the real content of the string to measure it's size
|
2011-06-23 05:38:05 +02:00 |
|
sbarman
|
d610397d1e
|
fake stream for unimplemented filters
|
2011-06-22 19:20:03 -07:00 |
|
sbarman
|
325170a5fc
|
Cleaning up FaxStream
|
2011-06-22 18:56:33 -07:00 |
|
Chris Jones
|
57e7e798a6
|
fix strict-mode violations in chrome
|
2011-06-22 18:50:38 -07:00 |
|
sbarman
|
1bb4406702
|
work in progress
|
2011-06-22 17:55:47 -07:00 |
|
sbarman
|
8c3ebb8d9f
|
Added in the tables for faxstream
|
2011-06-22 17:54:57 -07:00 |
|
sbarman
|
1673d2497c
|
not working version of ccittfaxstream
|
2011-06-22 14:26:59 -07:00 |
|
Andreas Gal
|
5585c6a5fe
|
Merge pull request #53 from vingtetun/master
Merge TTF font rewriting to pass the font sanitization pass.
|
2011-06-22 11:42:06 -07:00 |
|
Chris Jones
|
20b0fb9dc0
|
add TODO() for Shading Pattern
|
2011-06-22 02:37:59 -07:00 |
|
Vivien Nicolas
|
fdf4db3365
|
Merge remote branch 'upstream/master'
|
2011-06-22 11:31:24 +02:00 |
|
Chris Jones
|
452550ea72
|
TODO() for 4-component-per-pixel images
|
2011-06-22 02:23:15 -07:00 |
|
Chris Jones
|
ea9f916ffe
|
TODO() for radial shading
|
2011-06-22 02:17:45 -07:00 |
|
Chris Jones
|
abcda6e47d
|
band-aid lack of Indexed color space
|
2011-06-22 02:10:08 -07:00 |
|
Vivien Nicolas
|
e0c98ba3c6
|
Enhance the converter code by filling Format 6 dense array gaps
|
2011-06-22 10:56:31 +02:00 |
|
Chris Jones
|
5dc5455959
|
deal with apparent lack of FontDescriptor for standard fonts
|
2011-06-22 01:50:43 -07:00 |
|
Andreas Gal
|
6c31e56448
|
fix typo
|
2011-06-22 02:36:34 -04:00 |
|
Andreas Gal
|
d1809be1ec
|
fix other cases of reading this.buffer before ensureBuffer, too
|
2011-06-22 02:35:42 -04:00 |
|
Andreas Gal
|
3f713de5fe
|
ensureBuffer can modify this.buffer, so read it after ensureBuffer
|
2011-06-22 02:34:26 -04:00 |
|
sbarman
|
e928f18736
|
Merge pull request #48 from sbarman/ascii85
Ascii85Stream
|
2011-06-21 22:57:15 -07:00 |
|
sbarman
|
02dc50532e
|
moved array allocation to consturctor
|
2011-06-21 22:53:47 -07:00 |
|
Vivien Nicolas
|
00df9b82ee
|
Start of a TTF Format6 to Format4 converter (sigh)
|
2011-06-22 07:46:41 +02:00 |
|
sbarman
|
ec19935ffb
|
clean up code
|
2011-06-21 22:43:03 -07:00 |
|
sbarman
|
f0a580e1e7
|
made Ascii85Stream be a child of DecodeStream
|
2011-06-21 22:39:38 -07:00 |
|
Andreas Gal
|
7bac97e0fb
|
avoid frequent calls to ensureBuffer during decompression
|
2011-06-22 01:12:27 -04:00 |
|
sbarman
|
e8aecfa31b
|
Merge branch 'master' into ascii85
|
2011-06-21 22:04:21 -07:00 |
|
sbarman
|
bb0125c294
|
fixed indent
|
2011-06-21 21:51:54 -07:00 |
|
sbarman
|
4e72572fe7
|
rewrote prototype inhertence
|
2011-06-21 21:48:50 -07:00 |
|
sbarman
|
745745ccd0
|
work in progress on ascii85
|
2011-06-21 21:26:48 -07:00 |
|
sbarman
|
3603981581
|
modified Ascii85Stream to be more like other streams
|
2011-06-21 21:12:50 -07:00 |
|
Vivien Nicolas
|
fdfd03b671
|
Support Format 6 cmap table, but does not pass the sanitizer yet
|
2011-06-22 04:41:31 +02:00 |
|
sbarman
|
2e581a1563
|
rewrote streams to be object oriented
|
2011-06-21 17:02:50 -07:00 |
|
sbarman
|
669776e272
|
combined redudent code in Stream
|
2011-06-21 15:16:04 -07:00 |
|
sbarman
|
240fcf650b
|
fixed getBytes in Ascii85Stream
|
2011-06-21 14:34:13 -07:00 |
|
Chris Jones
|
f7fb8e6348
|
fix typo
|
2011-06-21 13:56:49 -07:00 |
|
Chris Jones
|
bf8d49ef1a
|
Don't error out for FontFile3 descriptors.
|
2011-06-21 13:40:21 -07:00 |
|
sbarman
|
beb048b217
|
initial impl of ASCII85 Decoding
|
2011-06-21 13:34:35 -07:00 |
|
Vivien Nicolas
|
11a1ebaada
|
Start displaying TrueType fonts
|
2011-06-21 21:11:59 +02:00 |
|
Andreas Gal
|
5a96404705
|
whitespace fixes and move inheriting of dict props into the page since it only happens there
|
2011-06-21 15:05:33 -04:00 |
|
Andreas Gal
|
bad69c984c
|
indentation fix
|
2011-06-21 14:42:41 -04:00 |
|
sbarman
|
9f995645e5
|
minor fix to render page, add F command, added inhertable dictionary entries
|
2011-06-21 10:49:02 -07:00 |
|
Andreas Gal
|
4b118d361c
|
don't die when translating fonts without a charset
|
2011-06-21 03:42:01 -04:00 |
|
Andreas Gal
|
2069f3f241
|
style fixes and fix bug in numComps calculation (missing break)
|
2011-06-21 03:04:33 -04:00 |
|
sbarman
|
a96c7830a3
|
removed redundant getChar
|
2011-06-20 22:44:08 -07:00 |
|
sbarman
|
650df34289
|
Merge branch 'master' into predictor
|
2011-06-20 22:42:26 -07:00 |
|
sbarman
|
9f56f66c34
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-20 22:42:07 -07:00 |
|
andreasgal
|
1a70bb6612
|
Merge pull request #30 from vingtetun/master
Add a fake name table to works with Firefox trunk
|
2011-06-20 21:57:58 -07:00 |
|
Vivien Nicolas
|
ff6aaa02ee
|
Get rid of the TrueType class, adapt the code to conventions and new code
|
2011-06-21 06:49:59 +02:00 |
|
notmasteryet
|
cfda084714
|
Fixes 09061a2cc4 regression, spaces, and default value for type
|
2011-06-20 22:55:32 -05:00 |
|
sbarman
|
7a3cdcdd06
|
working implementation of png and tiff predictors
|
2011-06-20 20:45:29 -07:00 |
|
sbarman
|
3b38313b7a
|
cleaned up code
|
2011-06-20 20:41:24 -07:00 |
|
sbarman
|
75bffdd613
|
cleaned up code
|
2011-06-20 20:28:48 -07:00 |
|
sbarman
|
2fbd6859f2
|
Bug fix when an array of filters is passed in
|
2011-06-20 20:19:13 -07:00 |
|
sbarman
|
4635091c43
|
working implementation of png and tiff predictors
|
2011-06-20 19:51:36 -07:00 |
|
Andreas Gal
|
825f9249b2
|
restore getChar in JpegStream
|
2011-06-20 22:39:49 -04:00 |
|
Vivien Nicolas
|
81532e9c03
|
Rename s2a, s16, s32 and do some dance inside the bind() code
|
2011-06-21 04:30:28 +02:00 |
|
Vivien Nicolas
|
69c71c9332
|
Fix some leftovers
|
2011-06-21 03:05:28 +02:00 |
|
Vivien Nicolas
|
ab4ecdcb73
|
Merge with master
|
2011-06-21 03:01:59 +02:00 |
|
sbarman
|
50bf57e353
|
Merge branch 'master' into predictor
Conflicts:
pdf.js
|
2011-06-20 17:51:38 -07:00 |
|
Vivien Nicolas
|
d923953ee3
|
Merge with master
|
2011-06-21 02:35:14 +02:00 |
|
Andreas Gal
|
a6c48e3bc2
|
cleanup DCTStream rendering code a tad
|
2011-06-20 19:36:40 -04:00 |
|
andreasgal
|
442afb102e
|
Merge pull request #29 from notmasteryet/jpegstream2
DCTDecode; text and images vertical inversion fix
|
2011-06-20 16:30:11 -07:00 |
|
sbarman
|
72d8bf4fda
|
Merge branch 'pngpredictor' of https://github.com/notmasteryet/pdf.js into predictor
|
2011-06-20 16:02:29 -07:00 |
|
sbarman
|
c90d59c9b3
|
Merge branch 'master' into streamrewrite2
|
2011-06-20 15:00:09 -07:00 |
|
sbarman
|
eaf4262133
|
Merge branch 'master' into predictor
Conflicts:
pdf.js
|
2011-06-20 14:56:34 -07:00 |
|
Chris Jones
|
0192222268
|
Merge pull request #19 from sbarman/tiling
Tiling
|
2011-06-20 14:51:33 -07:00 |
|
sbarman
|
e99dad9b08
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-20 14:36:21 -07:00 |
|
sbarman
|
2b79f5bcb0
|
switched to using const enums
|
2011-06-20 14:22:11 -07:00 |
|
sbarman
|
e70d4a2025
|
Merge branch 'master' of github.com:andreasgal/pdf.js into streamrewrite2
Conflicts:
pdf.js
|
2011-06-20 14:16:09 -07:00 |
|
sbarman
|
96e82daf16
|
forgot to changed to typeof b == undefined at one location
|
2011-06-20 14:14:28 -07:00 |
|
sbarman
|
011f7129be
|
used typeof b == undefined
|
2011-06-20 14:10:10 -07:00 |
|
sbarman
|
bc886362d4
|
Merge branch 'master' into streamrewrite2
Conflicts:
pdf.js
|
2011-06-20 14:02:54 -07:00 |
|
sbarman
|
ac2378ce2c
|
fixed ExtraStateContext.colorSpace impl
|
2011-06-20 13:47:42 -07:00 |
|
sbarman
|
9419a0d4b8
|
Used symbolic constants
|
2011-06-20 13:38:27 -07:00 |
|
Vivien Nicolas
|
d7edbe28e9
|
Add a way to disable fonts that won't load
|
2011-06-20 21:14:33 +02:00 |
|
Vivien Nicolas
|
75f0930465
|
Add more TrueType rewriting magic ('post' table)
|
2011-06-20 08:20:31 +02:00 |
|
Andreas Gal
|
09061a2cc4
|
style fixes, we should post some sensible style guide
|
2011-06-20 01:20:05 -04:00 |
|
andreasgal
|
b1cd32fc9c
|
Merge pull request #27 from notmasteryet/objstm
Ability to fetch ObjStm objects; multi-item page content
|
2011-06-19 22:14:44 -07:00 |
|
notmasteryet
|
1140820118
|
Multi-color predictor; row predictor for sub and average
|
2011-06-19 23:23:21 -05:00 |
|
notmasteryet
|
e2933b5583
|
DCTDecode; text and images vertical inversion fix
|
2011-06-19 22:04:45 -05:00 |
|
Vivien Nicolas
|
0197697d1f
|
Add a basic embedded CMap reader
|
2011-06-20 02:52:30 +02:00 |
|
notmasteryet
|
4452e5bd86
|
Ability to fetch ObjStm objects; fix DEFLATE stream double-eof-call issue; multi-item page content
|
2011-06-19 18:55:02 -05:00 |
|
Vivien Nicolas
|
b3b0322446
|
Fix the encoding problem for TrueType
|
2011-06-20 00:09:50 +02:00 |
|
Andreas Gal
|
010475176f
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-19 13:20:00 -07:00 |
|
sbarman
|
9d286d789e
|
cleanup
|
2011-06-19 15:01:52 -05:00 |
|
sbarman
|
07b6ee2d03
|
Merge branch 'master' into tiling
|
2011-06-19 12:15:52 -07:00 |
|
sbarman
|
8705c341d6
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-19 12:04:57 -07:00 |
|
Andreas Gal
|
b6d4de3de0
|
no need for new for typed array constructors
|
2011-06-19 11:29:18 -07:00 |
|
Vivien Nicolas
|
bf835f7aa5
|
Really pass the sanitizer (encoding is broken)
|
2011-06-19 11:07:03 +02:00 |
|
Chris Jones
|
92fa629d10
|
use strict mode and fix violators
|
2011-06-18 23:18:46 -07:00 |
|
andreasgal
|
d0d608b17f
|
Merge pull request #23 from notmasteryet/a2d7c18aee4d66cd37085bf2597808acfeaec8e9
XRefStream implementation
|
2011-06-18 21:38:10 -07:00 |
|
Chris Jones
|
fcbf6e61ce
|
CharSet is optional
|
2011-06-18 21:18:56 -07:00 |
|
Vivien Nicolas
|
7e3c1340ff
|
Re-enable TrueType and add a TODO about translating the ToUnicode entry (note TrueType still fails on cmap)
|
2011-06-19 04:35:25 +02:00 |
|
Vivien Nicolas
|
2670aa680b
|
Another undeclared variable caught by strict mode
|
2011-06-19 03:08:43 +02:00 |
|
Vivien Nicolas
|
e62bd48a9e
|
Use strict mode for js files
|
2011-06-19 02:35:28 +02:00 |
|
sbarman
|
57034abe4c
|
Merge branch 'master' into tiling
|
2011-06-18 13:07:20 -07:00 |
|
sbarman
|
ab6ff77b41
|
Fixed predictor
|
2011-06-18 13:06:54 -07:00 |
|
sbarman
|
8a18c82f15
|
Merge branch 'master' into predictor
|
2011-06-18 09:33:59 -07:00 |
|
Andreas Gal
|
e9980c1558
|
remove toString code to avoid any future accidental implicit conversions
|
2011-06-18 01:18:21 -07:00 |
|
Andreas Gal
|
5517602df0
|
speedup unicode/glyph conversion and cache translated strings in the font
|
2011-06-17 21:22:37 -07:00 |
|
Andreas Gal
|
2588eb054b
|
IsInteger => IsInt
|
2011-06-17 20:17:10 -07:00 |
|
sbarman
|
1fa41144c7
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-17 17:58:24 -07:00 |
|
sbarman
|
6c5448770d
|
Merge branch 'master' of github.com:andreasgal/pdf.js into streamrewrite2
|
2011-06-17 17:58:06 -07:00 |
|
sbarman
|
74024df89a
|
clean up tiling
|
2011-06-17 17:48:44 -07:00 |
|
sbarman
|
569e8c1d02
|
clean up tiling
|
2011-06-17 17:46:02 -07:00 |
|
sbarman
|
2179d64593
|
Merge branch 'master' into tiling
|
2011-06-17 17:38:29 -07:00 |
|
sbarman
|
4593fb3949
|
Cleaned up code for tiling
|
2011-06-17 17:35:56 -07:00 |
|
Andreas Gal
|
a4e1fba9ec
|
even more error checking for font translation
|
2011-06-17 16:34:29 -07:00 |
|
Andreas Gal
|
050acaf5e0
|
add more error checking for font translation
|
2011-06-17 16:29:48 -07:00 |
|
sbarman
|
3da5245abf
|
Working version of predictors
|
2011-06-17 16:06:02 -07:00 |
|
Andreas Gal
|
1db4812c00
|
inline Encodings table into pdf.js and use getters for lazy construction
|
2011-06-17 15:48:17 -07:00 |
|
sbarman
|
ce09870e2b
|
Rearranged predictor interface
|
2011-06-17 13:32:26 -07:00 |
|
sbarman
|
558ac50d72
|
changed skip in FlateStream to not call getChar
|
2011-06-17 13:13:25 -07:00 |
|
sbarman
|
35aacef28c
|
Merge branch 'master' into streamrewrite2
|
2011-06-17 12:32:32 -07:00 |
|
sbarman
|
70e6f493b1
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-17 12:14:45 -07:00 |
|
Vivien Nicolas
|
4bd3308b78
|
Do not assume charset is defined and move some fonts timing to the right place
|
2011-06-17 20:29:34 +02:00 |
|
sbarman
|
de184e0530
|
stored bytes in flatestream
|
2011-06-17 10:10:29 -07:00 |
|
sbarman
|
5baaa758f1
|
Merge branch 'master' into predictor
|
2011-06-17 09:07:40 -07:00 |
|
sbarman
|
4a5e1329c2
|
Merge branch 'master' into tiling
|
2011-06-17 09:00:04 -07:00 |
|
sbarman
|
6ad785b188
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-17 08:33:14 -07:00 |
|
notmasteryet
|
a2d7c18aee
|
readXRefStream and PNG predictor 12
|
2011-06-17 07:37:14 -05:00 |
|
Vivien Nicolas
|
172dadb008
|
Clean up some debug leftovers
|
2011-06-17 13:55:42 +02:00 |
|
sbarman
|
60989ee3b9
|
initial implementation of predictor
|
2011-06-16 17:03:15 -07:00 |
|
sbarman
|
5ff59eadcb
|
Added comments
|
2011-06-16 12:03:50 -07:00 |
|
sbarman
|
1e3147d0d7
|
working version of tiling
|
2011-06-16 11:26:50 -07:00 |
|
Vivien Nicolas
|
3dbfde89a3
|
Resolve the char->glyphs mapping issue
|
2011-06-16 03:55:45 +02:00 |
|
Vivien Nicolas
|
2e87e8ca83
|
Merge from gal's master branch (got a regression on the mapping between char->glyph)
|
2011-06-16 03:05:55 +02:00 |
|
Chris Jones
|
8ab68cf17a
|
implement setDash
|
2011-06-15 12:55:48 -07:00 |
|
Chris Jones
|
672741bc5c
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-15 12:42:48 -07:00 |
|
sbarman
|
7077ad5b67
|
Merge branch 'master' of github.com:andreasgal/pdf.js
Conflicts:
pdf.js
|
2011-06-15 12:37:05 -07:00 |
|
Chris Jones
|
0c4e4d1651
|
implement some operators and add TODOs for remaining undefined ones
|
2011-06-15 14:24:44 -05:00 |
|
sbarman
|
a0375c0f0b
|
cleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to IsPDFFunction
|
2011-06-15 11:34:47 -07:00 |
|
Andreas Gal
|
815544ab81
|
fixes suggested by @brendaneich
|
2011-06-15 00:37:15 -07:00 |
|
Andreas Gal
|
02df7f8e58
|
clarify API a bit and hand in xref and resources to ease translation
|
2011-06-14 23:44:59 -07:00 |
|
Andreas Gal
|
cf4bca7813
|
completed async font loading framework
|
2011-06-14 23:41:26 -07:00 |
|
Andreas Gal
|
d94b3006a3
|
eagerly translate all fonts (a no-op currently)
|
2011-06-14 23:34:11 -07:00 |
|
Andreas Gal
|
662fab04ca
|
pdf is using a dumb name, content makes much more sense than Contents
|
2011-06-14 23:22:19 -07:00 |
|
Andreas Gal
|
d1b9e4054a
|
cache results of compilation
|
2011-06-14 23:16:53 -07:00 |
|
Andreas Gal
|
e8ce0b361d
|
eagerly compile XForm objects
|
2011-06-14 22:54:49 -07:00 |
|
Andreas Gal
|
e7d6b47099
|
return ready-to-run closure from compile that captures its objpool
|
2011-06-14 20:36:45 -07:00 |
|
Vivien Nicolas
|
32118c5650
|
Add a basic support for TrueType (generate fonts with OS/2 table)
|
2011-06-15 04:46:48 +02:00 |
|
Andreas Gal
|
7a0ba61a2a
|
compile PDF command streams into JS code
|
2011-06-14 18:31:14 -07:00 |
|
sbarman
|
58ca7ab61c
|
Cleaned up code, renamed PDFFunction class
|
2011-06-14 13:49:50 -07:00 |
|
Vivien Nicolas
|
363071aab9
|
Add XObjects fonts to the list of page fonts and has a forEach method to the Dict class
|
2011-06-14 21:38:59 +02:00 |
|
sbarman
|
3c12d9ee31
|
cleaned up code
|
2011-06-14 12:19:35 -07:00 |
|
sbarman
|
de9150b528
|
Implemented type 2 shading for the pdf (aka gradients)
|
2011-06-14 11:57:02 -07:00 |
|
Vivien Nicolas
|
3625ac93a3
|
Forgot to push function calls changes to get the unicode char from a random code
|
2011-06-14 19:40:36 +02:00 |
|
Vivien Nicolas
|
0ebd3cdf93
|
Add support for ligatures, asterisks, etc.
|
2011-06-14 11:08:08 +02:00 |
|
Vivien Nicolas
|
b0ee046b31
|
Make the fonts decoding code works with asynchronous data url
|
2011-06-14 04:35:46 +02:00 |
|
Vivien Nicolas
|
c03dd98075
|
Do not use makeSubStream in the CFF constructor
|
2011-06-13 23:23:13 +02:00 |
|
Vivien Nicolas
|
f9e3607601
|
Merge to upstream
|
2011-06-13 19:16:03 +02:00 |
|
Vivien Nicolas
|
2dc7bda2bc
|
Merge the stream handling changes with the Font code
|
2011-06-13 18:59:46 +02:00 |
|
Vivien Nicolas
|
2c4a0aa269
|
Undo last patch, it broke font rendering
|
2011-06-13 07:06:51 +02:00 |
|
Andreas Gal
|
83e100b013
|
starting position of a stream is relative to the file, not the current stream
|
2011-06-13 12:47:40 +08:00 |
|
Andreas Gal
|
e0a6c8ef76
|
use const instead of var
|
2011-06-13 11:40:49 +08:00 |
|
Vivien Nicolas
|
0a135091de
|
Add a root 'Font' class as the outside world API
|
2011-06-13 01:38:05 +02:00 |
|
Andreas Gal
|
609842b76c
|
remove debug code
|
2011-06-11 23:49:17 -07:00 |
|
Vivien Nicolas
|
632fcfed18
|
Turn on TrueType decoder even if the sanitizer prevent them to load at the moment
|
2011-06-12 03:10:54 +02:00 |
|
Vivien Nicolas
|
828367a1b4
|
Make the Type1 to OTF code active, even if the sanitizer prevent fonts to load at the moment
|
2011-06-12 03:00:45 +02:00 |
|
Chris Jones
|
d1cd02f0a7
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-10 12:17:00 -07:00 |
|
Chris Jones
|
a5731ddc47
|
skeleton of shading fill
|
2011-06-10 12:16:45 -07:00 |
|
sbarman
|
b61700b5a5
|
changed bufferPos to pos, fixed style issue (spacing)
|
2011-06-10 11:30:48 -07:00 |
|
sbarman
|
3d9f609054
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-06-09 23:06:36 -07:00 |
|
sbarman
|
f10aca6a46
|
Fixed up excess code
|
2011-06-09 19:34:34 -07:00 |
|
sbarman
|
1dbf2d1d0c
|
cleaned up code, used dict.get2, hoisted conditional outside loop when drawing image
|
2011-06-09 19:19:09 -07:00 |
|
Chris Jones
|
78d0b3caf1
|
implement TL and T*
|
2011-06-09 18:19:17 -07:00 |
|
sbarman
|
b83979f40d
|
Revert "working on optimizations"
This reverts commit 03747940a2 .
|
2011-06-09 18:17:27 -07:00 |
|
sbarman
|
03747940a2
|
working on optimizations
|
2011-06-09 17:15:44 -07:00 |
|
Vivien Nicolas
|
74abf984d5
|
Add the beginning of a Type1 to Type2 charstring converter
|
2011-06-10 01:20:00 +02:00 |
|
sbarman
|
0e8f323f0a
|
fixed error with getBytes in flate stream
|
2011-06-09 15:02:58 -07:00 |
|
sbarman
|
78493db421
|
Merge remote-tracking branch 'agal/master'
Conflicts:
pdf.js
test.html
|
2011-06-09 14:59:15 -07:00 |
|
Andreas Gal
|
287e7a702a
|
remove left-over shell code
|
2011-06-10 05:44:41 +08:00 |
|
sbarman
|
c5a04b900f
|
Merge commit '496a6374c1ac04e'
Conflicts:
pdf.js
|
2011-06-09 14:42:31 -07:00 |
|
sbarman
|
496a6374c1
|
fixed the display of images
|
2011-06-09 14:35:55 -07:00 |
|
sbarman
|
cfff44f2b2
|
fixed getBytes
|
2011-06-09 12:53:38 -07:00 |
|
sbarman
|
5da69f520d
|
Half working version of paintImageXObject
|
2011-06-08 17:45:50 -07:00 |
|
sbarman
|
c326f1808f
|
Fixed geBytes implementation
|
2011-06-08 17:42:29 -07:00 |
|
sbarman
|
19f9897ec3
|
added getBytes method
|
2011-06-08 15:41:17 -07:00 |
|
Andreas Gal
|
bab03e6add
|
remove left-over shell code
|
2011-06-08 13:40:10 -07:00 |
|
sbarman
|
a89bd1d30e
|
Copied entire buffer for flate stream's snarf function (since decoding looks back)
|
2011-06-08 11:49:37 -07:00 |
|
Andreas Gal
|
f85953b342
|
read in image data en-block instead of sucking it through the stream interface
|
2011-06-09 01:09:02 +08:00 |
|
Andreas Gal
|
8b119087f0
|
use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC)
|
2011-06-09 01:09:02 +08:00 |
|
Vivien Nicolas
|
c098f0b31f
|
Fix some bugs and add the beginning of a Type2 reader
|
2011-06-08 17:26:29 +02:00 |
|
Andreas Gal
|
ee5d8763e8
|
read in image data en-block instead of sucking it through the stream interface
|
2011-06-08 07:50:35 -07:00 |
|
Vivien Nicolas
|
4d261759d9
|
Support TrueType Font
|
2011-06-07 19:17:46 +02:00 |
|
Andreas Gal
|
5c5d09c898
|
use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC)
|
2011-06-06 21:34:21 -07:00 |
|
sbarman
|
99aacfe42c
|
Implemented basic version of smask
|
2011-06-06 18:35:45 -07:00 |
|
sbarman
|
27b8b68b87
|
Removed log code from previous commit
|
2011-06-06 18:34:24 -07:00 |
|
sbarman
|
11f427d235
|
Fixed FlateStreams to read in multiple blocks
|
2011-06-06 18:31:54 -07:00 |
|
Andreas Gal
|
386d70f33c
|
add code to parse bits per component information for images
|
2011-06-05 10:56:05 -07:00 |
|
Andreas Gal
|
378f381625
|
don't cache stream objects
|
2011-06-04 23:18:55 -07:00 |
|
Andreas Gal
|
5c06cd1de5
|
use an array not an object to cache objects
|
2011-06-04 23:15:51 -07:00 |
|
Andreas Gal
|
47f0326eee
|
parse Interpolate and ImageMask for images
|
2011-06-04 23:01:25 -07:00 |
|
Andreas Gal
|
5647dbc0a4
|
convert remaining inflate code tables to typed arrays
|
2011-06-04 11:11:14 -07:00 |
|
Andreas Gal
|
4d70cb4aaf
|
turn distDecode into a typed array
|
2011-06-04 10:27:25 -07:00 |
|
Andreas Gal
|
9143ad4cf5
|
make lengthDecode a typed array
|
2011-06-04 10:18:04 -07:00 |
|
Andreas Gal
|
cd7c229ccc
|
make codeLenCodeMap a typed array
|
2011-06-04 10:14:17 -07:00 |
|
Chris Jones
|
fadbb1b5e7
|
FlateStream wants a .dict member for duck typing
|
2011-06-03 22:58:06 -05:00 |
|
Chris Jones
|
2f8d80677b
|
implement even-odd fill/clip
|
2011-06-03 22:52:27 -05:00 |
|
Vivien Nicolas
|
c166db13fd
|
Add the 'for' keyword and support 2's complement signed integer
|
2011-06-04 00:43:50 +02:00 |
|
Andreas Gal
|
92aa46cf81
|
hand in xref to the parser if needed so we can resolve 'Length' for sub-streams
|
2011-06-03 14:38:54 -07:00 |
|
Andreas Gal
|
b6b5c2ac49
|
fix deflate code
|
2011-06-03 14:22:38 -07:00 |
|
Andreas Gal
|
267f312f13
|
fix length/end of stream handling
|
2011-06-03 14:16:04 -07:00 |
|
Vivien Nicolas
|
a08691313f
|
Clean up some code and add some changes to pdf.js
|
2011-06-03 19:47:07 +02:00 |
|
Chris Jones
|
41f46ca346
|
fix typo that breaks ff4
|
2011-06-02 21:13:48 -07:00 |
|
Chris Jones
|
4533902953
|
skeleton of image drawing
|
2011-06-02 18:27:56 -05:00 |
|
Chris Jones
|
ebc483a0c7
|
Font and XObject entries can be refs, and dump image magic bytes
|
2011-06-02 14:24:46 -05:00 |
|
Andreas Gal
|
9b9a258a57
|
starting position of a stream is relative to the file, not the current stream
|
2011-06-02 10:57:06 -07:00 |
|
Vivien Nicolas
|
fe11af4b57
|
Add a the beggining of a Type1 font reader
|
2011-05-31 20:22:05 +02:00 |
|
Andreas Gal
|
503d888036
|
Merge branch 'master' of github.com:andreasgal/pdf.js
|
2011-05-30 10:04:35 +02:00 |
|
Chris Jones
|
53018c8e4c
|
fix next/prev/next bug, fiddle with UI, remove debugging code
|
2011-05-25 21:09:06 +12:00 |
|
Chris Jones
|
c79cb83d52
|
reset current point on text state changes and remove redundant "cur" prefix
|
2011-05-23 21:22:56 +12:00 |
|
Andreas Gal
|
98dfcf57ec
|
use const instead of var
|
2011-05-21 07:40:28 +02:00 |
|
Chris Jones
|
f80a88864b
|
basic kinda-working form xobject support
|
2011-05-17 14:08:05 +12:00 |
|
Chris Jones
|
d7f3c31d9d
|
add assert helpers, small cleanup
|
2011-05-17 11:59:38 +12:00 |
|
Chris Jones
|
8f8b302b23
|
initial (broken) support for xobjects
|
2011-05-17 11:39:45 +12:00 |
|
Andreas Gal
|
db6f072507
|
fix a couple more shadowings
|
2011-05-13 00:23:27 -07:00 |
|
Andreas Gal
|
f4bb211283
|
forgot another shadowing
|
2011-05-13 00:21:32 -07:00 |
|
Andreas Gal
|
a4c5b6095b
|
use defineProperty to shadow getters
|
2011-05-13 00:19:50 -07:00 |
|
Chris Jones
|
0753ce25c1
|
fix typo in lexing of octal escapes
|
2011-05-13 13:09:13 +12:00 |
|
Andreas Gal
|
a9a16ccb8a
|
fix for new XHR2 binary API
|
2011-05-12 16:58:19 -07:00 |
|
Andreas Gal
|
fed7e723b8
|
clone stream if we got it from the cache in case its already in use
|
2011-05-11 23:00:36 -07:00 |
|
Chris Jones
|
76e43dd982
|
fix next/prev, small tweaks
|
2011-05-12 17:05:46 +12:00 |
|
Andreas Gal
|
9521168b5c
|
remove the echo interpreter, dissolve interpreter into gfx and Page
|
2011-05-11 20:13:57 -07:00 |
|
Andreas Gal
|
bffedbb33c
|
cache refs, not streams, in the interest of saving memory
|
2011-05-11 20:03:45 -07:00 |
|
Andreas Gal
|
284ef90e47
|
uncompressed pdfs render a bit now
|
2011-05-11 19:05:30 -07:00 |
|
Andreas Gal
|
6a4b0e8058
|
fix bug in string obj handling
|
2011-05-11 17:17:47 -07:00 |
|
Andreas Gal
|
52d8555c17
|
parser content streams
|
2011-05-11 17:09:06 -07:00 |
|
Andreas Gal
|
2326832f49
|
fixes for the huffman decoder
|
2011-05-11 16:30:30 -07:00 |
|
Andreas Gal
|
9543128796
|
wired up decompression, not working yet
|
2011-05-11 03:26:33 -07:00 |
|
Andreas Gal
|
cebd567fa1
|
parse the page tree and extract pages and their content
|
2011-05-11 03:14:08 -07:00 |
|
Andreas Gal
|
7c604ae280
|
add code to access the page dictionary
|
2011-05-11 01:50:47 -07:00 |
|
Andreas Gal
|
db5488a50e
|
reading the catalog, at last
|
2011-05-11 01:20:12 -07:00 |
|
Andreas Gal
|
7b5effcdbe
|
use exceptions instead of error codes in case of errors
|
2011-05-11 00:10:15 -07:00 |
|
Andreas Gal
|
c8ab1c014e
|
finish inflate code, still untested
|
2011-05-10 23:57:03 -07:00 |
|
Andreas Gal
|
903e6e2b9d
|
add inflate code
|
2011-05-10 21:22:28 -07:00 |
|