]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
13 years agoAdd XObjects fonts to the list of page fonts and has a forEach method to the Dict...
Vivien Nicolas [Tue, 14 Jun 2011 19:38:59 +0000 (21:38 +0200)]
Add XObjects fonts to the list of page fonts and has a forEach method to the Dict class

13 years agoForgot to push function calls changes to get the unicode char from a random code
Vivien Nicolas [Tue, 14 Jun 2011 17:40:36 +0000 (19:40 +0200)]
Forgot to push function calls changes to get the unicode char from a random code

13 years agoAdd support for brackets around the header emails
Vivien Nicolas [Tue, 14 Jun 2011 09:59:10 +0000 (11:59 +0200)]
Add support for brackets around the header emails

13 years agoAdd support for ligatures, asterisks, etc.
Vivien Nicolas [Tue, 14 Jun 2011 09:08:08 +0000 (11:08 +0200)]
Add support for ligatures, asterisks, etc.

13 years agoFix an issue with the setTimeout method used for waiting for fonts to load
Vivien Nicolas [Tue, 14 Jun 2011 02:52:21 +0000 (04:52 +0200)]
Fix an issue with the setTimeout method used for waiting for fonts to load

13 years agoMake the fonts decoding code works with asynchronous data url
Vivien Nicolas [Tue, 14 Jun 2011 02:35:46 +0000 (04:35 +0200)]
Make the fonts decoding code works with asynchronous data url

13 years agoDo not use makeSubStream in the CFF constructor
Vivien Nicolas [Mon, 13 Jun 2011 21:23:13 +0000 (23:23 +0200)]
Do not use makeSubStream in the CFF constructor

13 years agoMerge to upstream
Vivien Nicolas [Mon, 13 Jun 2011 17:16:03 +0000 (19:16 +0200)]
Merge to upstream

13 years agoMerge the stream handling changes with the Font code
Vivien Nicolas [Mon, 13 Jun 2011 16:59:46 +0000 (18:59 +0200)]
Merge the stream handling changes with the Font code

13 years agoUndo last patch, it broke font rendering
Vivien Nicolas [Mon, 13 Jun 2011 05:06:51 +0000 (07:06 +0200)]
Undo last patch, it broke font rendering

13 years agostarting position of a stream is relative to the file, not the current stream
Andreas Gal [Thu, 2 Jun 2011 17:57:06 +0000 (01:57 +0800)]
starting position of a stream is relative to the file, not the current stream

13 years agouse const instead of var
Andreas Gal [Sat, 21 May 2011 05:40:28 +0000 (13:40 +0800)]
use const instead of var

13 years agoSmall changes
Vivien Nicolas [Mon, 13 Jun 2011 03:30:02 +0000 (05:30 +0200)]
Small changes

13 years agoClean up a bit the code to generate an OTF (again)
Vivien Nicolas [Mon, 13 Jun 2011 02:46:21 +0000 (04:46 +0200)]
Clean up a bit the code to generate an OTF (again)

13 years agoClean up a bit the code to generate an OTF
Vivien Nicolas [Mon, 13 Jun 2011 02:37:53 +0000 (04:37 +0200)]
Clean up a bit the code to generate an OTF

13 years agoClean up a bit the CMAP ranges creation loop
Vivien Nicolas [Mon, 13 Jun 2011 01:45:24 +0000 (03:45 +0200)]
Clean up a bit the CMAP ranges creation loop

13 years agoCMAP creation code is now more readable
Vivien Nicolas [Mon, 13 Jun 2011 01:35:56 +0000 (03:35 +0200)]
CMAP creation code is now more readable

13 years agoBeginning of the separatation of the Type1/CFF/OTF code
Vivien Nicolas [Mon, 13 Jun 2011 00:30:16 +0000 (02:30 +0200)]
Beginning of the separatation of the Type1/CFF/OTF code

13 years agoAdd a root 'Font' class as the outside world API
Vivien Nicolas [Sun, 12 Jun 2011 23:38:05 +0000 (01:38 +0200)]
Add a root 'Font' class as the outside world API

13 years agoAdd some missing glyphs
Vivien Nicolas [Sun, 12 Jun 2011 21:41:57 +0000 (23:41 +0200)]
Add some missing glyphs

13 years agoOTF fonts works with the sanitizer (woot)
Vivien Nicolas [Sun, 12 Jun 2011 19:53:39 +0000 (21:53 +0200)]
OTF fonts works with the sanitizer (woot)

13 years agoAdd some code to make (the first one only...) font pass the sanitizer check
Vivien Nicolas [Sun, 12 Jun 2011 12:23:39 +0000 (14:23 +0200)]
Add some code to make (the first one only...) font pass the sanitizer check

13 years agoremove debug code
Andreas Gal [Sun, 12 Jun 2011 06:49:17 +0000 (23:49 -0700)]
remove debug code

13 years agoRemove the Type2 validation data from the tree
Vivien Nicolas [Sun, 12 Jun 2011 03:19:43 +0000 (05:19 +0200)]
Remove the Type2 validation data from the tree

13 years agoTurn on TrueType decoder even if the sanitizer prevent them to load at the moment
Vivien Nicolas [Sun, 12 Jun 2011 01:10:54 +0000 (03:10 +0200)]
Turn on TrueType decoder even if the sanitizer prevent them to load at the moment

13 years agoMake the Type1 to OTF code active, even if the sanitizer prevent fonts to load at...
Vivien Nicolas [Sun, 12 Jun 2011 01:00:45 +0000 (03:00 +0200)]
Make the Type1 to OTF code active, even if the sanitizer prevent fonts to load at the moment

13 years agoDefault the unit per EM size to 1000
Vivien Nicolas [Sat, 11 Jun 2011 23:56:21 +0000 (01:56 +0200)]
Default the unit per EM size to 1000

13 years agoFix a bunch of errors reported by OTS except the error about 3-0-4 MS symbol in cmap
Vivien Nicolas [Sat, 11 Jun 2011 23:51:27 +0000 (01:51 +0200)]
Fix a bunch of errors reported by OTS except the error about 3-0-4 MS symbol in cmap

13 years agoNo more errors for an empty unicode table
Vivien Nicolas [Sat, 11 Jun 2011 22:54:47 +0000 (00:54 +0200)]
No more errors for an empty unicode table

13 years agoOTF does not complain anymore about missize between the CFF data and the htmx table
Vivien Nicolas [Sat, 11 Jun 2011 20:36:18 +0000 (22:36 +0200)]
OTF does not complain anymore about missize between the CFF data and the htmx table

13 years agoOTF does not complain anymore about a duplicate .notdef
Vivien Nicolas [Sat, 11 Jun 2011 20:08:30 +0000 (22:08 +0200)]
OTF does not complain anymore about a duplicate .notdef

13 years agoAdd a basic non-working OTF generator
Vivien Nicolas [Sat, 11 Jun 2011 01:25:58 +0000 (03:25 +0200)]
Add a basic non-working OTF generator

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Chris Jones [Fri, 10 Jun 2011 19:17:00 +0000 (12:17 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoskeleton of shading fill
Chris Jones [Fri, 10 Jun 2011 19:16:45 +0000 (12:16 -0700)]
skeleton of shading fill

13 years agoDo not add empty spaces anymore
Vivien Nicolas [Fri, 10 Jun 2011 18:45:42 +0000 (20:45 +0200)]
Do not add empty spaces anymore

13 years agoMerge pull request #5 from sbarman/master
sbarman [Fri, 10 Jun 2011 18:32:37 +0000 (11:32 -0700)]
Merge pull request #5 from sbarman/master

fix to display images

13 years agochanged bufferPos to pos, fixed style issue (spacing)
sbarman [Fri, 10 Jun 2011 18:30:48 +0000 (11:30 -0700)]
changed bufferPos to pos, fixed style issue (spacing)

13 years agoRemove some useless bits of code
Vivien Nicolas [Fri, 10 Jun 2011 17:27:34 +0000 (19:27 +0200)]
Remove some useless bits of code

13 years agoRemove the aggregate commands and do some methods dance
Vivien Nicolas [Fri, 10 Jun 2011 16:46:26 +0000 (18:46 +0200)]
Remove the aggregate commands and do some methods dance

13 years agoAdd a debug writeToFile function and remove aggregations for Type2 fonts
Vivien Nicolas [Fri, 10 Jun 2011 16:38:57 +0000 (18:38 +0200)]
Add a debug writeToFile function and remove aggregations for Type2 fonts

13 years agoAdd the beginning of a working CFF font encoder
Vivien Nicolas [Fri, 10 Jun 2011 06:40:28 +0000 (08:40 +0200)]
Add the beginning of a working CFF font encoder

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
sbarman [Fri, 10 Jun 2011 06:06:36 +0000 (23:06 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoAdd the beginning of a CFF encoder
Vivien Nicolas [Fri, 10 Jun 2011 04:12:59 +0000 (06:12 +0200)]
Add the beginning of a CFF encoder

13 years agoFixed up excess code
sbarman [Fri, 10 Jun 2011 02:34:34 +0000 (19:34 -0700)]
Fixed up excess code

13 years agocleaned up code, used dict.get2, hoisted conditional outside loop when drawing image
sbarman [Fri, 10 Jun 2011 02:19:09 +0000 (19:19 -0700)]
cleaned up code, used dict.get2, hoisted conditional outside loop when drawing image

13 years agoMerge
Chris Jones [Fri, 10 Jun 2011 01:19:53 +0000 (18:19 -0700)]
Merge

13 years agoRevert "added test harness for uncompressed"
sbarman [Fri, 10 Jun 2011 01:19:18 +0000 (18:19 -0700)]
Revert "added test harness for uncompressed"

This reverts commit 3b4d7d3e786783ea65f99fd1c57d09a5609b623d.

Conflicts:

test.html

13 years agoimplement TL and T*
Chris Jones [Fri, 10 Jun 2011 01:19:17 +0000 (18:19 -0700)]
implement TL and T*

13 years agoRevert "working on optimizations"
sbarman [Fri, 10 Jun 2011 01:17:27 +0000 (18:17 -0700)]
Revert "working on optimizations"

This reverts commit 03747940a2f8346e484898b026f43785c25abd04.

13 years agoadd ?file= parameter to test.html
Andreas Gal [Fri, 10 Jun 2011 01:06:01 +0000 (18:06 -0700)]
add ?file= parameter to test.html

13 years agoworking on optimizations
sbarman [Fri, 10 Jun 2011 00:15:44 +0000 (17:15 -0700)]
working on optimizations

13 years agoMove the Type2 utils to a new file and create a Stack object
Vivien Nicolas [Fri, 10 Jun 2011 00:07:41 +0000 (02:07 +0200)]
Move the Type2 utils to a new file and create a Stack object

13 years agoAdd the beginning of a Type1 to Type2 charstring converter
Vivien Nicolas [Thu, 9 Jun 2011 23:20:00 +0000 (01:20 +0200)]
Add the beginning of a Type1 to Type2 charstring converter

13 years agofixed error with getBytes in flate stream
sbarman [Thu, 9 Jun 2011 22:02:58 +0000 (15:02 -0700)]
fixed error with getBytes in flate stream

13 years agoMerge remote-tracking branch 'agal/master'
sbarman [Thu, 9 Jun 2011 21:59:15 +0000 (14:59 -0700)]
Merge remote-tracking branch 'agal/master'

Conflicts:
pdf.js
test.html

13 years agoremove left-over shell code
Andreas Gal [Wed, 8 Jun 2011 20:40:10 +0000 (04:40 +0800)]
remove left-over shell code

13 years agoMerge commit '496a6374c1ac04e'
sbarman [Thu, 9 Jun 2011 21:42:31 +0000 (14:42 -0700)]
Merge commit '496a6374c1ac04e'

Conflicts:
pdf.js

13 years agofixed the display of images
sbarman [Thu, 9 Jun 2011 21:35:55 +0000 (14:35 -0700)]
fixed the display of images

13 years agofixed getBytes
sbarman [Thu, 9 Jun 2011 19:53:38 +0000 (12:53 -0700)]
fixed getBytes

13 years agosupport test.html?page=[num], display total number of pages
Chris Jones [Thu, 9 Jun 2011 00:55:09 +0000 (17:55 -0700)]
support test.html?page=[num], display total number of pages

13 years agoHalf working version of paintImageXObject
sbarman [Thu, 9 Jun 2011 00:45:50 +0000 (17:45 -0700)]
Half working version of paintImageXObject

13 years agoFixed geBytes implementation
sbarman [Thu, 9 Jun 2011 00:42:29 +0000 (17:42 -0700)]
Fixed geBytes implementation

13 years agoClean up some Type2 reader code for readibility
Vivien Nicolas [Thu, 9 Jun 2011 00:37:06 +0000 (02:37 +0200)]
Clean up some Type2 reader code for readibility

13 years agoadded getBytes method
sbarman [Wed, 8 Jun 2011 22:41:17 +0000 (15:41 -0700)]
added getBytes method

13 years agoadded test harness for uncompressed
sbarman [Wed, 8 Jun 2011 22:39:44 +0000 (15:39 -0700)]
added test harness for uncompressed

13 years agoSupport reading all parts of a Type2 file
Vivien Nicolas [Wed, 8 Jun 2011 22:26:41 +0000 (00:26 +0200)]
Support reading all parts of a Type2 file

13 years agoremove left-over shell code
Andreas Gal [Wed, 8 Jun 2011 20:40:10 +0000 (13:40 -0700)]
remove left-over shell code

13 years agoCopied entire buffer for flate stream's snarf function (since decoding looks back)
sbarman [Wed, 8 Jun 2011 18:49:37 +0000 (11:49 -0700)]
Copied entire buffer for flate stream's snarf function (since decoding looks back)

13 years agoStarts to decode type2 charStrings
Vivien Nicolas [Wed, 8 Jun 2011 18:37:25 +0000 (20:37 +0200)]
Starts to decode type2 charStrings

13 years agoAdded test harness for uncompressed version of pdf
sbarman [Wed, 8 Jun 2011 17:12:22 +0000 (10:12 -0700)]
Added test harness for uncompressed version of pdf

13 years agoread in image data en-block instead of sucking it through the stream interface
Andreas Gal [Wed, 8 Jun 2011 14:50:35 +0000 (22:50 +0800)]
read in image data en-block instead of sucking it through the stream interface

13 years agouse dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent...
Andreas Gal [Tue, 7 Jun 2011 04:34:21 +0000 (12:34 +0800)]
use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC)

13 years agoFix some bugs and add the beginning of a Type2 reader
Vivien Nicolas [Wed, 8 Jun 2011 15:26:29 +0000 (17:26 +0200)]
Fix some bugs and add the beginning of a Type2 reader

13 years agoread in image data en-block instead of sucking it through the stream interface
Andreas Gal [Wed, 8 Jun 2011 14:50:35 +0000 (07:50 -0700)]
read in image data en-block instead of sucking it through the stream interface

13 years agoSupport TrueType Font
Vivien Nicolas [Tue, 7 Jun 2011 17:17:46 +0000 (19:17 +0200)]
Support TrueType Font

13 years agouse dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent...
Andreas Gal [Tue, 7 Jun 2011 04:34:21 +0000 (21:34 -0700)]
use dict.get2 to lookup with a key that has an abbreviation (i.e. BitsPerComponent/BPC)

13 years agoImplemented basic version of smask
sbarman [Mon, 6 Jun 2011 23:40:03 +0000 (16:40 -0700)]
Implemented basic version of smask

13 years agoRemoved log code from previous commit
sbarman [Tue, 7 Jun 2011 01:34:24 +0000 (18:34 -0700)]
Removed log code from previous commit

13 years agoFixed FlateStreams to read in multiple blocks
sbarman [Mon, 6 Jun 2011 21:26:28 +0000 (14:26 -0700)]
Fixed FlateStreams to read in multiple blocks

13 years agoadd code to parse bits per component information for images
Andreas Gal [Sun, 5 Jun 2011 17:56:05 +0000 (10:56 -0700)]
add code to parse bits per component information for images

13 years agodon't cache stream objects
Andreas Gal [Sun, 5 Jun 2011 06:18:55 +0000 (23:18 -0700)]
don't cache stream objects

13 years agouse an array not an object to cache objects
Andreas Gal [Sun, 5 Jun 2011 06:15:51 +0000 (23:15 -0700)]
use an array not an object to cache objects

13 years agoparse Interpolate and ImageMask for images
Andreas Gal [Sun, 5 Jun 2011 06:01:25 +0000 (23:01 -0700)]
parse Interpolate and ImageMask for images

13 years agoconvert remaining inflate code tables to typed arrays
Andreas Gal [Sat, 4 Jun 2011 18:11:14 +0000 (11:11 -0700)]
convert remaining inflate code tables to typed arrays

13 years agoadded Shaon as contributor
Andreas Gal [Sat, 4 Jun 2011 17:41:18 +0000 (10:41 -0700)]
added Shaon as contributor

13 years agoturn distDecode into a typed array
Andreas Gal [Sat, 4 Jun 2011 17:27:25 +0000 (10:27 -0700)]
turn distDecode into a typed array

13 years agomake lengthDecode a typed array
Andreas Gal [Sat, 4 Jun 2011 17:18:04 +0000 (10:18 -0700)]
make lengthDecode a typed array

13 years agomake codeLenCodeMap a typed array
Andreas Gal [Sat, 4 Jun 2011 17:14:17 +0000 (10:14 -0700)]
make codeLenCodeMap a typed array

13 years agoFlateStream wants a .dict member for duck typing
Chris Jones [Sat, 4 Jun 2011 03:58:06 +0000 (22:58 -0500)]
FlateStream wants a .dict member for duck typing

13 years agoimplement even-odd fill/clip
Chris Jones [Sat, 4 Jun 2011 03:52:27 +0000 (22:52 -0500)]
implement even-odd fill/clip

13 years agoAdd the 'for' keyword and support 2's complement signed integer
Vivien Nicolas [Fri, 3 Jun 2011 22:43:50 +0000 (00:43 +0200)]
Add the 'for' keyword and support 2's complement signed integer

13 years agohand in xref to the parser if needed so we can resolve 'Length' for sub-streams
Andreas Gal [Fri, 3 Jun 2011 21:38:54 +0000 (14:38 -0700)]
hand in xref to the parser if needed so we can resolve 'Length' for sub-streams

13 years agoreplace wrong compressed pdf with the actual tracemonkey paper
Andreas Gal [Fri, 3 Jun 2011 21:24:43 +0000 (14:24 -0700)]
replace wrong compressed pdf with the actual tracemonkey paper

13 years agofix deflate code
Andreas Gal [Fri, 3 Jun 2011 21:22:38 +0000 (14:22 -0700)]
fix deflate code

13 years agofix length/end of stream handling
Andreas Gal [Fri, 3 Jun 2011 21:16:04 +0000 (14:16 -0700)]
fix length/end of stream handling

13 years agoClean up some code and add some changes to pdf.js
Vivien Nicolas [Fri, 3 Jun 2011 17:47:07 +0000 (19:47 +0200)]
Clean up some code and add some changes to pdf.js

13 years agoRemove some debug leftover
Vivien Nicolas [Fri, 3 Jun 2011 15:54:40 +0000 (17:54 +0200)]
Remove some debug leftover

13 years agoAdd the necessary bits to handle Arrays, Procedure and a bigger set of instructions...
Vivien Nicolas [Fri, 3 Jun 2011 15:48:32 +0000 (17:48 +0200)]
Add the necessary bits to handle Arrays, Procedure and a bigger set of instructions for Type1

13 years agofix typo that breaks ff4
Chris Jones [Fri, 3 Jun 2011 04:13:48 +0000 (21:13 -0700)]
fix typo that breaks ff4

13 years agoskeleton of image drawing
Chris Jones [Thu, 2 Jun 2011 23:27:56 +0000 (18:27 -0500)]
skeleton of image drawing