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 |
sbarman
|
496a6374c1
|
fixed the display of images
|
14 years ago |
sbarman
|
cfff44f2b2
|
fixed getBytes
|
14 years ago |
sbarman
|
5da69f520d
|
Half working version of paintImageXObject
|
14 years ago |
sbarman
|
c326f1808f
|
Fixed geBytes implementation
|
14 years ago |
sbarman
|
19f9897ec3
|
added getBytes method
|
14 years ago |
Andreas Gal
|
bab03e6add
|
remove left-over shell code
|
14 years ago |
sbarman
|
a89bd1d30e
|
Copied entire buffer for flate stream's snarf function (since decoding looks back)
|
14 years ago |
Andreas Gal
|
f85953b342
|
read in image data en-block instead of sucking it through the stream interface
|
14 years ago |
Andreas Gal
|
8b119087f0
|
use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC)
|
14 years ago |
Vivien Nicolas
|
c098f0b31f
|
Fix some bugs and add the beginning of a Type2 reader
|
14 years ago |