]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
14 years agoRemove direct access to the underlying map object of dict in the fonts builder
Vivien Nicolas [Tue, 14 Jun 2011 19:51:11 +0000 (21:51 +0200)]
Remove direct access to the underlying map object of dict in the fonts builder

14 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

14 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

14 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

14 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.

14 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

14 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

14 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

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

14 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

14 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

14 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

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

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

14 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)

14 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

14 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

14 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

14 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

14 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

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

14 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)

14 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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

14 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

14 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)

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

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

14 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

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

14 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.

14 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

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

14 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

14 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

14 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

14 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

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

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

Conflicts:
pdf.js

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

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

14 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

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

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

14 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

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

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

14 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

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

14 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)

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

14 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

14 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

14 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)

14 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

14 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

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

14 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)

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

14 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

14 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

14 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

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

14 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

14 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

14 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

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

14 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

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

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

14 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

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

14 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

14 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

14 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

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

14 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

14 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

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

14 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

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