]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
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 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 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 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 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 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 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 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 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 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 agoSupport TrueType Font
Vivien Nicolas [Tue, 7 Jun 2011 17:17:46 +0000 (19:17 +0200)]
Support TrueType Font

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 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 agoStarts playing with the execution stack
Vivien Nicolas [Wed, 1 Jun 2011 18:40:25 +0000 (20:40 +0200)]
Starts playing with the execution stack

13 years agoDecode charStrings and stop the interpreter on every unknow token
Vivien Nicolas [Wed, 1 Jun 2011 14:50:32 +0000 (16:50 +0200)]
Decode charStrings and stop the interpreter on every unknow token

13 years agoPrepare the way to decode Type1 charStrings
Vivien Nicolas [Wed, 1 Jun 2011 09:52:10 +0000 (11:52 +0200)]
Prepare the way to decode Type1 charStrings

13 years agoAdd a the beggining of a Type1 font reader
Vivien Nicolas [Tue, 31 May 2011 18:22:05 +0000 (20:22 +0200)]
Add a the beggining of a Type1 font reader

13 years agoSeparate js and css from the test.html file
Vivien Nicolas [Thu, 26 May 2011 14:02:52 +0000 (16:02 +0200)]
Separate js and css from the test.html file

13 years agofix next/prev/next bug, fiddle with UI, remove debugging code
Chris Jones [Wed, 25 May 2011 09:09:06 +0000 (21:09 +1200)]
fix next/prev/next bug, fiddle with UI, remove debugging code

13 years agoreset current point on text state changes and remove redundant "cur" prefix
Chris Jones [Mon, 23 May 2011 09:22:56 +0000 (21:22 +1200)]
reset current point on text state changes and remove redundant "cur" prefix

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Sat, 21 May 2011 00:34:22 +0000 (02:34 +0200)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoset mozOpaque
Andreas Gal [Sat, 21 May 2011 00:34:05 +0000 (02:34 +0200)]
set mozOpaque

13 years agobasic kinda-working form xobject support
Chris Jones [Tue, 17 May 2011 02:08:05 +0000 (14:08 +1200)]
basic kinda-working form xobject support

13 years agoadd assert helpers, small cleanup
Chris Jones [Mon, 16 May 2011 23:59:38 +0000 (11:59 +1200)]
add assert helpers, small cleanup

13 years agoinitial (broken) support for xobjects
Chris Jones [Mon, 16 May 2011 23:38:38 +0000 (11:38 +1200)]
initial (broken) support for xobjects

13 years agofix a couple more shadowings
Andreas Gal [Fri, 13 May 2011 07:23:27 +0000 (00:23 -0700)]
fix a couple more shadowings

13 years agoforgot another shadowing
Andreas Gal [Fri, 13 May 2011 07:21:32 +0000 (00:21 -0700)]
forgot another shadowing

13 years agouse defineProperty to shadow getters
Andreas Gal [Fri, 13 May 2011 07:19:50 +0000 (00:19 -0700)]
use defineProperty to shadow getters

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Fri, 13 May 2011 06:35:31 +0000 (23:35 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoseperate page fetch and render times
Andreas Gal [Fri, 13 May 2011 06:35:23 +0000 (23:35 -0700)]
seperate page fetch and render times

13 years agofix typo in lexing of octal escapes
Chris Jones [Fri, 13 May 2011 01:09:13 +0000 (13:09 +1200)]
fix typo in lexing of octal escapes

13 years agofix for new XHR2 binary API
Andreas Gal [Thu, 12 May 2011 23:58:19 +0000 (16:58 -0700)]
fix for new XHR2 binary API

13 years agoclone stream if we got it from the cache in case its already in use
Andreas Gal [Thu, 12 May 2011 06:00:36 +0000 (23:00 -0700)]
clone stream if we got it from the cache in case its already in use

13 years agofix next/prev, small tweaks
Chris Jones [Thu, 12 May 2011 05:05:46 +0000 (17:05 +1200)]
fix next/prev, small tweaks

13 years ago0 is error for http, only MS would design this API
Andreas Gal [Thu, 12 May 2011 04:13:27 +0000 (21:13 -0700)]
0 is error for http, only MS would design this API

13 years agosupport file status code
Andreas Gal [Thu, 12 May 2011 04:11:32 +0000 (21:11 -0700)]
support file status code

13 years agodon't try to go further back than page 1
Andreas Gal [Thu, 12 May 2011 03:55:50 +0000 (20:55 -0700)]
don't try to go further back than page 1

13 years agodisplay rendering time
Andreas Gal [Thu, 12 May 2011 03:37:16 +0000 (20:37 -0700)]
display rendering time

13 years agoremove the echo interpreter, dissolve interpreter into gfx and Page
Andreas Gal [Thu, 12 May 2011 03:13:57 +0000 (20:13 -0700)]
remove the echo interpreter, dissolve interpreter into gfx and Page

13 years agocache refs, not streams, in the interest of saving memory
Andreas Gal [Thu, 12 May 2011 03:03:45 +0000 (20:03 -0700)]
cache refs, not streams, in the interest of saving memory

13 years agouncompressed pdfs render a bit now
Andreas Gal [Thu, 12 May 2011 02:05:30 +0000 (19:05 -0700)]
uncompressed pdfs render a bit now

13 years agofix bug in string obj handling
Andreas Gal [Thu, 12 May 2011 00:17:47 +0000 (17:17 -0700)]
fix bug in string obj handling

13 years agoparser content streams
Andreas Gal [Thu, 12 May 2011 00:09:06 +0000 (17:09 -0700)]
parser content streams

13 years agofixes for the huffman decoder
Andreas Gal [Wed, 11 May 2011 23:30:30 +0000 (16:30 -0700)]
fixes for the huffman decoder

13 years agowired up decompression, not working yet
Andreas Gal [Wed, 11 May 2011 10:26:33 +0000 (03:26 -0700)]
wired up decompression, not working yet

13 years agoparse the page tree and extract pages and their content
Andreas Gal [Wed, 11 May 2011 10:14:08 +0000 (03:14 -0700)]
parse the page tree and extract pages and their content

13 years agoadd code to access the page dictionary
Andreas Gal [Wed, 11 May 2011 08:50:47 +0000 (01:50 -0700)]
add code to access the page dictionary

13 years agoreading the catalog, at last
Andreas Gal [Wed, 11 May 2011 08:20:12 +0000 (01:20 -0700)]
reading the catalog, at last

13 years agouse exceptions instead of error codes in case of errors
Andreas Gal [Wed, 11 May 2011 07:10:15 +0000 (00:10 -0700)]
use exceptions instead of error codes in case of errors

13 years agofinish inflate code, still untested
Andreas Gal [Wed, 11 May 2011 06:57:03 +0000 (23:57 -0700)]
finish inflate code, still untested

13 years agoadd inflate code
Andreas Gal [Wed, 11 May 2011 04:22:28 +0000 (21:22 -0700)]
add inflate code

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Tue, 10 May 2011 07:31:51 +0000 (00:31 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agouse skip() instead of getChar() when the return value isn't used anyway
Andreas Gal [Tue, 10 May 2011 06:47:08 +0000 (23:47 -0700)]
use skip() instead of getChar() when the return value isn't used anyway

13 years agoremove skipChar(), use skip() without an argument instead
Andreas Gal [Tue, 10 May 2011 06:44:25 +0000 (23:44 -0700)]
remove skipChar(), use skip() without an argument instead

13 years agoinline asString since its only used once
Andreas Gal [Tue, 10 May 2011 06:37:21 +0000 (23:37 -0700)]
inline asString since its only used once

13 years agomove find out of the Stream class
Andreas Gal [Tue, 10 May 2011 06:32:22 +0000 (23:32 -0700)]
move find out of the Stream class

13 years agoremove putBack and make skip go via skipChar
Andreas Gal [Tue, 10 May 2011 06:10:40 +0000 (23:10 -0700)]
remove putBack and make skip go via skipChar

13 years agoremove getByte for now
Andreas Gal [Tue, 10 May 2011 06:08:29 +0000 (23:08 -0700)]
remove getByte for now

13 years agoplaceholders for scn/SCN
Chris Jones [Tue, 10 May 2011 02:19:26 +0000 (21:19 -0500)]
placeholders for scn/SCN

13 years agoshadingFill placeholder
Chris Jones [Tue, 10 May 2011 02:14:09 +0000 (21:14 -0500)]
shadingFill placeholder

13 years agoPlaceholder even-odd fill
Chris Jones [Tue, 10 May 2011 02:08:21 +0000 (21:08 -0500)]
Placeholder even-odd fill

13 years agoClipping (non-zero winding)
Chris Jones [Tue, 10 May 2011 02:05:33 +0000 (21:05 -0500)]
Clipping (non-zero winding)

13 years agoMerge
Chris Jones [Tue, 10 May 2011 01:17:22 +0000 (20:17 -0500)]
Merge

13 years agoImplement "n" (end path), add stubs for NYI operators
Chris Jones [Tue, 10 May 2011 01:16:06 +0000 (20:16 -0500)]
Implement "n" (end path), add stubs for NYI operators

13 years agothrow Error for errors, and warn in browser and shell
Andreas Gal [Tue, 10 May 2011 01:10:15 +0000 (18:10 -0700)]
throw Error for errors, and warn in browser and shell

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Tue, 10 May 2011 01:04:31 +0000 (18:04 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agobeginnings of inflate decompression
Andreas Gal [Tue, 10 May 2011 01:04:22 +0000 (18:04 -0700)]
beginnings of inflate decompression

13 years agoImplement j (line join style)
Chris Jones [Tue, 10 May 2011 00:11:40 +0000 (19:11 -0500)]
Implement j (line join style)

13 years agoImplement J (line-cap style)
Chris Jones [Mon, 9 May 2011 23:57:23 +0000 (18:57 -0500)]
Implement J (line-cap style)

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Chris Jones [Mon, 9 May 2011 23:20:10 +0000 (18:20 -0500)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoImplement TJ
Chris Jones [Mon, 9 May 2011 23:20:04 +0000 (18:20 -0500)]
Implement TJ

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Andreas Gal [Mon, 9 May 2011 22:58:50 +0000 (15:58 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agobug fixes, getting closer to parsing a latex paper
Andreas Gal [Mon, 9 May 2011 22:58:37 +0000 (15:58 -0700)]
bug fixes, getting closer to parsing a latex paper

13 years agoRestore font lookup and setting
Chris Jones [Mon, 9 May 2011 20:18:19 +0000 (15:18 -0500)]
Restore font lookup and setting

13 years agoadd buffer to write data to
Andreas Gal [Mon, 9 May 2011 00:39:40 +0000 (17:39 -0700)]
add buffer to write data to

13 years agouse Object.create for Dict instead of a key prefix
Andreas Gal [Sun, 8 May 2011 21:26:08 +0000 (14:26 -0700)]
use Object.create for Dict instead of a key prefix

13 years agoeliminate putBack
Andreas Gal [Sun, 8 May 2011 21:08:38 +0000 (14:08 -0700)]
eliminate putBack

13 years agodon't use array buffes to implement moveStart, that won't work for filtered streams
Andreas Gal [Sun, 8 May 2011 18:35:32 +0000 (11:35 -0700)]
don't use array buffes to implement moveStart, that won't work for filtered streams

13 years agofactor out isSpace
Andreas Gal [Sun, 8 May 2011 18:32:53 +0000 (11:32 -0700)]
factor out isSpace

13 years agofix StringStream constructor delegation to Stream
Andreas Gal [Sun, 8 May 2011 05:57:04 +0000 (22:57 -0700)]
fix StringStream constructor delegation to Stream

14 years agoadd skeleton decryption and stream filter support
Andreas Gal [Sat, 7 May 2011 08:20:04 +0000 (01:20 -0700)]
add skeleton decryption and stream filter support

14 years agostart working on stream decoding
Andreas Gal [Sat, 7 May 2011 06:37:49 +0000 (23:37 -0700)]
start working on stream decoding

14 years agofix reading linearized documents
Andreas Gal [Sat, 7 May 2011 05:44:01 +0000 (22:44 -0700)]
fix reading linearized documents

14 years agorestore long-form function names and a mapping table
Andreas Gal [Sat, 7 May 2011 05:15:18 +0000 (22:15 -0700)]
restore long-form function names and a mapping table

14 years agotighten up the interpreter loop
Andreas Gal [Sat, 7 May 2011 01:15:51 +0000 (18:15 -0700)]
tighten up the interpreter loop