Andreas Gal
|
1db4812c00
|
inline Encodings table into pdf.js and use getters for lazy construction
|
14 years ago |
sbarman
|
ce09870e2b
|
Rearranged predictor interface
|
14 years ago |
sbarman
|
558ac50d72
|
changed skip in FlateStream to not call getChar
|
14 years ago |
Vivien Nicolas
|
4bd3308b78
|
Do not assume charset is defined and move some fonts timing to the right place
|
14 years ago |
sbarman
|
de184e0530
|
stored bytes in flatestream
|
14 years ago |
notmasteryet
|
a2d7c18aee
|
readXRefStream and PNG predictor 12
|
14 years ago |
Vivien Nicolas
|
172dadb008
|
Clean up some debug leftovers
|
14 years ago |
sbarman
|
60989ee3b9
|
initial implementation of predictor
|
14 years ago |
sbarman
|
5ff59eadcb
|
Added comments
|
14 years ago |
sbarman
|
1e3147d0d7
|
working version of tiling
|
14 years ago |
Vivien Nicolas
|
3dbfde89a3
|
Resolve the char->glyphs mapping issue
|
14 years ago |
Chris Jones
|
8ab68cf17a
|
implement setDash
|
14 years ago |
Chris Jones
|
0c4e4d1651
|
implement some operators and add TODOs for remaining undefined ones
|
14 years ago |
sbarman
|
a0375c0f0b
|
cleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to IsPDFFunction
|
14 years ago |
Andreas Gal
|
815544ab81
|
fixes suggested by @brendaneich
|
14 years ago |
Andreas Gal
|
02df7f8e58
|
clarify API a bit and hand in xref and resources to ease translation
|
14 years ago |
Andreas Gal
|
cf4bca7813
|
completed async font loading framework
|
14 years ago |
Andreas Gal
|
d94b3006a3
|
eagerly translate all fonts (a no-op currently)
|
14 years ago |
Andreas Gal
|
662fab04ca
|
pdf is using a dumb name, content makes much more sense than Contents
|
14 years ago |
Andreas Gal
|
d1b9e4054a
|
cache results of compilation
|
14 years ago |
Andreas Gal
|
e8ce0b361d
|
eagerly compile XForm objects
|
14 years ago |
Andreas Gal
|
e7d6b47099
|
return ready-to-run closure from compile that captures its objpool
|
14 years ago |
Vivien Nicolas
|
32118c5650
|
Add a basic support for TrueType (generate fonts with OS/2 table)
|
14 years ago |
Andreas Gal
|
7a0ba61a2a
|
compile PDF command streams into JS code
|
14 years ago |
sbarman
|
58ca7ab61c
|
Cleaned up code, renamed PDFFunction class
|
14 years ago |
Vivien Nicolas
|
363071aab9
|
Add XObjects fonts to the list of page fonts and has a forEach method to the Dict class
|
14 years ago |
sbarman
|
3c12d9ee31
|
cleaned up code
|
14 years ago |
sbarman
|
de9150b528
|
Implemented type 2 shading for the pdf (aka gradients)
|
14 years ago |
Vivien Nicolas
|
3625ac93a3
|
Forgot to push function calls changes to get the unicode char from a random code
|
14 years ago |
Vivien Nicolas
|
0ebd3cdf93
|
Add support for ligatures, asterisks, etc.
|
14 years ago |
Vivien Nicolas
|
b0ee046b31
|
Make the fonts decoding code works with asynchronous data url
|
14 years ago |
Vivien Nicolas
|
c03dd98075
|
Do not use makeSubStream in the CFF constructor
|
14 years ago |
Vivien Nicolas
|
2dc7bda2bc
|
Merge the stream handling changes with the Font code
|
14 years ago |
Vivien Nicolas
|
2c4a0aa269
|
Undo last patch, it broke font rendering
|
14 years ago |
Andreas Gal
|
83e100b013
|
starting position of a stream is relative to the file, not the current stream
|
14 years ago |
Andreas Gal
|
e0a6c8ef76
|
use const instead of var
|
14 years ago |
Vivien Nicolas
|
0a135091de
|
Add a root 'Font' class as the outside world API
|
14 years ago |
Andreas Gal
|
609842b76c
|
remove debug code
|
14 years ago |
Vivien Nicolas
|
632fcfed18
|
Turn on TrueType decoder even if the sanitizer prevent them to load at the moment
|
14 years ago |
Vivien Nicolas
|
828367a1b4
|
Make the Type1 to OTF code active, even if the sanitizer prevent fonts to load at the moment
|
14 years ago |
Chris Jones
|
a5731ddc47
|
skeleton of shading fill
|
14 years ago |
sbarman
|
b61700b5a5
|
changed bufferPos to pos, fixed style issue (spacing)
|
14 years ago |
sbarman
|
f10aca6a46
|
Fixed up excess code
|
14 years ago |
sbarman
|
1dbf2d1d0c
|
cleaned up code, used dict.get2, hoisted conditional outside loop when drawing image
|
14 years ago |
Chris Jones
|
78d0b3caf1
|
implement TL and T*
|
14 years ago |
sbarman
|
b83979f40d
|
Revert "working on optimizations"
This reverts commit 03747940a2 .
|
14 years ago |
sbarman
|
03747940a2
|
working on optimizations
|
14 years ago |
Vivien Nicolas
|
74abf984d5
|
Add the beginning of a Type1 to Type2 charstring converter
|
14 years ago |
sbarman
|
0e8f323f0a
|
fixed error with getBytes in flate stream
|
14 years ago |
Andreas Gal
|
287e7a702a
|
remove left-over shell code
|
14 years ago |