191 Commits (5001ee7120717fc30e05c948032ad35dccdaf310)

Author SHA1 Message Date
Andreas Gal b6d4de3de0 no need for new for typed array constructors 14 years ago
Chris Jones 92fa629d10 use strict mode and fix violators 14 years ago
Chris Jones fcbf6e61ce CharSet is optional 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
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
Andreas Gal 1db4812c00 inline Encodings table into pdf.js and use getters for lazy construction 14 years ago
Vivien Nicolas 4bd3308b78 Do not assume charset is defined and move some fonts timing to the right place 14 years ago
notmasteryet a2d7c18aee readXRefStream and PNG predictor 12 14 years ago
Vivien Nicolas 172dadb008 Clean up some debug leftovers 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" 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