287 Commits (452550ea7206f07d4b55c573c873b47d6e62822e)

Author SHA1 Message Date
Vivien Nicolas 0197697d1f Add a basic embedded CMap reader 14 years ago
notmasteryet 4452e5bd86 Ability to fetch ObjStm objects; fix DEFLATE stream double-eof-call issue; multi-item page content 14 years ago
Vivien Nicolas b3b0322446 Fix the encoding problem for TrueType 14 years ago
sbarman 9d286d789e cleanup 14 years ago
Andreas Gal b6d4de3de0 no need for new for typed array constructors 14 years ago
Vivien Nicolas bf835f7aa5 Really pass the sanitizer (encoding is broken) 14 years ago
Chris Jones 92fa629d10 use strict mode and fix violators 14 years ago
Chris Jones fcbf6e61ce CharSet is optional 14 years ago
Vivien Nicolas 7e3c1340ff Re-enable TrueType and add a TODO about translating the ToUnicode entry (note TrueType still fails on cmap) 14 years ago
Vivien Nicolas 2670aa680b Another undeclared variable caught by strict mode 14 years ago
Vivien Nicolas e62bd48a9e Use strict mode for js files 14 years ago
sbarman ab6ff77b41 Fixed predictor 14 years ago
Andreas Gal e9980c1558 remove toString code to avoid any future accidental implicit conversions 14 years ago
Andreas Gal 5517602df0 speedup unicode/glyph conversion and cache translated strings in the font 14 years ago
Andreas Gal 2588eb054b IsInteger => IsInt 14 years ago
sbarman 74024df89a clean up tiling 14 years ago
sbarman 569e8c1d02 clean up tiling 14 years ago
sbarman 4593fb3949 Cleaned up code for tiling 14 years ago
Andreas Gal a4e1fba9ec even more error checking for font translation 14 years ago
Andreas Gal 050acaf5e0 add more error checking for font translation 14 years ago
sbarman 3da5245abf Working version of predictors 14 years ago
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