]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
13 years agostore unicode value as integer instead of hex string in glyphlist
Andreas Gal [Fri, 17 Jun 2011 07:34:03 +0000 (00:34 -0700)]
store unicode value as integer instead of hex string in glyphlist

13 years agoMerge pull request #13 from vingtetun/master
Chris Jones [Fri, 17 Jun 2011 07:20:57 +0000 (00:20 -0700)]
Merge pull request #13 from vingtetun/master

Fonts!

13 years agoRename PDFFonts.js to fonts.js
Vivien Nicolas [Fri, 17 Jun 2011 07:11:03 +0000 (09:11 +0200)]
Rename PDFFonts.js to fonts.js

13 years agoMerge with master
Vivien Nicolas [Fri, 17 Jun 2011 07:06:19 +0000 (09:06 +0200)]
Merge with master

13 years agoadd blogs and twitter link
Andreas Gal [Thu, 16 Jun 2011 16:37:15 +0000 (00:37 +0800)]
add blogs and twitter link

13 years agoFix CIMM6/CIIM9
Vivien Nicolas [Fri, 17 Jun 2011 06:36:52 +0000 (08:36 +0200)]
Fix CIMM6/CIIM9

13 years agoDo not use stream when it is not necessary
Vivien Nicolas [Fri, 17 Jun 2011 05:48:45 +0000 (07:48 +0200)]
Do not use stream when it is not necessary

13 years agoUse a typed array in the CMAP construction function
Vivien Nicolas [Fri, 17 Jun 2011 05:14:11 +0000 (07:14 +0200)]
Use a typed array in the CMAP construction function

13 years agoAdd a direct translation to one of the way to format charstring number in flattenChar...
Vivien Nicolas [Fri, 17 Jun 2011 04:53:18 +0000 (06:53 +0200)]
Add a direct translation to one of the way to format charstring number in flattenCharstring (28, x, y)

13 years agoGet rid or IsNum/IsString/IsArray in flattenCharstring
Vivien Nicolas [Fri, 17 Jun 2011 04:44:16 +0000 (06:44 +0200)]
Get rid or IsNum/IsString/IsArray in flattenCharstring

13 years agoMerge pull request #14 from debloper/master
Chris Jones [Fri, 17 Jun 2011 04:12:33 +0000 (21:12 -0700)]
Merge pull request #14 from debloper/master

Test-page updated to allow the user open local PDFs

13 years agoRemove some leftovers from the previous patch
Vivien Nicolas [Fri, 17 Jun 2011 04:06:24 +0000 (06:06 +0200)]
Remove some leftovers from the previous patch

13 years agoRework some code to enhance performance (CIIM6/CIIM9 are rejected by the sanitizer...
Vivien Nicolas [Fri, 17 Jun 2011 04:02:29 +0000 (06:02 +0200)]
Rework some code to enhance performance (CIIM6/CIIM9 are rejected by the sanitizer now)

13 years agoadd blogs and twitter link
Andreas Gal [Thu, 16 Jun 2011 16:37:15 +0000 (09:37 -0700)]
add blogs and twitter link

13 years agoRemove some debug leftovers and add some comments about future directions for the...
Vivien Nicolas [Thu, 16 Jun 2011 07:34:43 +0000 (09:34 +0200)]
Remove some debug leftovers and add some comments about future directions for the code

13 years agoTest-page updated to allow the user open local PDFs
Soumya Deb [Thu, 16 Jun 2011 06:44:02 +0000 (12:14 +0530)]
Test-page updated to allow the user open local PDFs

13 years agoResolve the char->glyphs mapping issue
Vivien Nicolas [Thu, 16 Jun 2011 01:55:45 +0000 (03:55 +0200)]
Resolve the char->glyphs mapping issue

13 years agoMerge from gal's master branch (got a regression on the mapping between char->glyph)
Vivien Nicolas [Thu, 16 Jun 2011 01:05:55 +0000 (03:05 +0200)]
Merge from gal's master branch (got a regression on the mapping between char->glyph)

13 years agoChange the nominalWidth to not use the format 28,b0,b1 but b0-139 in order to pass...
Vivien Nicolas [Thu, 16 Jun 2011 00:17:45 +0000 (02:17 +0200)]
Change the nominalWidth to not use the format 28,b0,b1 but b0-139 in order to pass the sanitizer and disable TrueType support until it fully works

13 years agoUse spaces to compare font size to detect when the @font-face rule works, this seems...
Vivien Nicolas [Wed, 15 Jun 2011 23:30:47 +0000 (01:30 +0200)]
Use spaces to compare font size to detect when the @font-face rule works, this seems to be more accurate

13 years agoRemove some useless JS function calls
Vivien Nicolas [Wed, 15 Jun 2011 23:09:17 +0000 (01:09 +0200)]
Remove some useless JS function calls

13 years agoGet rid of the PostScript interpreter (part 1)
Vivien Nicolas [Wed, 15 Jun 2011 21:02:30 +0000 (23:02 +0200)]
Get rid of the PostScript interpreter (part 1)

13 years agoimplement setDash
Chris Jones [Wed, 15 Jun 2011 19:55:48 +0000 (12:55 -0700)]
implement setDash

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
Chris Jones [Wed, 15 Jun 2011 19:42:48 +0000 (12:42 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

13 years agoMerge pull request #6 from sbarman/master
Chris Jones [Wed, 15 Jun 2011 19:41:40 +0000 (12:41 -0700)]
Merge pull request #6 from sbarman/master

type 2 shading

13 years agoMerge branch 'master' of github.com:andreasgal/pdf.js
sbarman [Wed, 15 Jun 2011 19:37:05 +0000 (12:37 -0700)]
Merge branch 'master' of github.com:andreasgal/pdf.js

Conflicts:
pdf.js

13 years agoimplement some operators and add TODOs for remaining undefined ones
Chris Jones [Wed, 15 Jun 2011 19:24:44 +0000 (14:24 -0500)]
implement some operators and add TODOs for remaining undefined ones

13 years agocleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to...
sbarman [Wed, 15 Jun 2011 18:34:47 +0000 (11:34 -0700)]
cleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to IsPDFFunction

13 years agofixes suggested by @brendaneich
Andreas Gal [Wed, 15 Jun 2011 07:37:15 +0000 (00:37 -0700)]
fixes suggested by @brendaneich

13 years agoMake Type1 glyphs use the default width they declare
Vivien Nicolas [Wed, 15 Jun 2011 07:21:59 +0000 (09:21 +0200)]
Make Type1 glyphs use the default width they declare

13 years agomeasure load/compile/render times
Andreas Gal [Wed, 15 Jun 2011 07:20:26 +0000 (00:20 -0700)]
measure load/compile/render times

13 years agoclarify API a bit and hand in xref and resources to ease translation
Andreas Gal [Wed, 15 Jun 2011 06:44:59 +0000 (23:44 -0700)]
clarify API a bit and hand in xref and resources to ease translation

13 years agocompleted async font loading framework
Andreas Gal [Wed, 15 Jun 2011 06:41:26 +0000 (23:41 -0700)]
completed async font loading framework

13 years agoeagerly translate all fonts (a no-op currently)
Andreas Gal [Wed, 15 Jun 2011 06:34:11 +0000 (23:34 -0700)]
eagerly translate all fonts (a no-op currently)

13 years agopdf is using a dumb name, content makes much more sense than Contents
Andreas Gal [Wed, 15 Jun 2011 06:22:19 +0000 (23:22 -0700)]
pdf is using a dumb name, content makes much more sense than Contents

13 years agocache results of compilation
Andreas Gal [Wed, 15 Jun 2011 06:16:53 +0000 (23:16 -0700)]
cache results of compilation

13 years agoeagerly compile XForm objects
Andreas Gal [Wed, 15 Jun 2011 05:54:49 +0000 (22:54 -0700)]
eagerly compile XForm objects

13 years agoForgot to turn off some debug flags
Vivien Nicolas [Wed, 15 Jun 2011 03:42:15 +0000 (05:42 +0200)]
Forgot to turn off some debug flags

13 years agoAdd Encodings.js and change the code to generate a CharSet per font, this will allow...
Vivien Nicolas [Wed, 15 Jun 2011 03:40:54 +0000 (05:40 +0200)]
Add Encodings.js and change the code to generate a CharSet per font, this will allow future changes to the OpenType font generator

13 years agoreturn ready-to-run closure from compile that captures its objpool
Andreas Gal [Wed, 15 Jun 2011 03:36:45 +0000 (20:36 -0700)]
return ready-to-run closure from compile that captures its objpool

13 years agoAdd a basic support for TrueType (generate fonts with OS/2 table)
Vivien Nicolas [Wed, 15 Jun 2011 02:46:48 +0000 (04:46 +0200)]
Add a basic support for TrueType (generate fonts with OS/2 table)

13 years agocompile PDF command streams into JS code
Andreas Gal [Wed, 15 Jun 2011 01:31:14 +0000 (18:31 -0700)]
compile PDF command streams into JS code

13 years agoCleaned up code, renamed PDFFunction class
sbarman [Tue, 14 Jun 2011 20:49:50 +0000 (13:49 -0700)]
Cleaned up code, renamed PDFFunction class

13 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

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 agocleaned up code
sbarman [Tue, 14 Jun 2011 19:19:35 +0000 (12:19 -0700)]
cleaned up code

13 years agoImplemented type 2 shading for the pdf (aka gradients)
sbarman [Tue, 14 Jun 2011 18:55:27 +0000 (11:55 -0700)]
Implemented type 2 shading for the pdf (aka gradients)

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