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

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

14 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

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

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

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

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

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

14 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

14 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

14 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

14 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

14 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

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

14 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

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

14 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

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

14 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

14 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

14 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

14 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

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

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

14 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

14 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

14 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

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

14 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

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

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

14 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

14 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

14 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

14 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

14 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

14 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

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

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

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

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

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

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

14 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

14 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

14 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

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

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

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

14 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

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

14 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

14 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

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

14 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

14 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