Commit Graph

468 Commits

Author SHA1 Message Date
Chris Jones
370303f005 render at 1.5x scale 2011-06-17 01:19:59 -07:00
Andreas Gal
fd269facbc 2nd attempt to make glyph list integers 2011-06-17 01:03:21 -07:00
Andreas Gal
4184414501 revert commit 2311c954f8 2011-06-17 00:46:27 -07:00
Andreas Gal
2311c954f8 store unicode value as integer instead of hex string in glyphlist 2011-06-17 00:34:03 -07:00
Chris Jones
00bde52237 Merge pull request #13 from vingtetun/master
Fonts!
2011-06-17 00:20:57 -07:00
Vivien Nicolas
6f91d109c6 Rename PDFFonts.js to fonts.js 2011-06-17 09:11:03 +02:00
Vivien Nicolas
2b0fa98257 Merge with master 2011-06-17 09:06:19 +02:00
Andreas Gal
1b8f0883dd add blogs and twitter link 2011-06-17 14:45:50 +08:00
Vivien Nicolas
f8696259b7 Fix CIMM6/CIIM9 2011-06-17 08:36:52 +02:00
Vivien Nicolas
75baff40f4 Do not use stream when it is not necessary 2011-06-17 07:48:45 +02:00
Vivien Nicolas
7ec2ea1e2f Use a typed array in the CMAP construction function 2011-06-17 07:14:11 +02:00
Vivien Nicolas
ac020e26f1 Add a direct translation to one of the way to format charstring number in flattenCharstring (28, x, y) 2011-06-17 06:53:18 +02:00
Vivien Nicolas
fb9fb5e3fa Get rid or IsNum/IsString/IsArray in flattenCharstring 2011-06-17 06:44:16 +02:00
Chris Jones
7358b97eab Merge pull request #14 from debloper/master
Test-page updated to allow the user open local PDFs
2011-06-16 21:12:33 -07:00
Vivien Nicolas
bf44657825 Remove some leftovers from the previous patch 2011-06-17 06:06:24 +02:00
Vivien Nicolas
40d44174cf Rework some code to enhance performance (CIIM6/CIIM9 are rejected by the sanitizer now) 2011-06-17 06:02:29 +02:00
sbarman
60989ee3b9 initial implementation of predictor 2011-06-16 17:03:15 -07:00
sbarman
5ff59eadcb Added comments 2011-06-16 12:03:50 -07:00
sbarman
1e3147d0d7 working version of tiling 2011-06-16 11:26:50 -07:00
Andreas Gal
3430842c4d add blogs and twitter link 2011-06-16 09:37:15 -07:00
Vivien Nicolas
f56a742056 Remove some debug leftovers and add some comments about future directions for the code 2011-06-16 09:34:43 +02:00
Soumya Deb
2941da3a33 Test-page updated to allow the user open local PDFs 2011-06-16 12:14:02 +05:30
Vivien Nicolas
3dbfde89a3 Resolve the char->glyphs mapping issue 2011-06-16 03:55:45 +02:00
Vivien Nicolas
2e87e8ca83 Merge from gal's master branch (got a regression on the mapping between char->glyph) 2011-06-16 03:05:55 +02:00
Vivien Nicolas
15aad009c9 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 2011-06-16 02:17:45 +02:00
Vivien Nicolas
3eb36429f3 Use spaces to compare font size to detect when the @font-face rule works, this seems to be more accurate 2011-06-16 01:30:47 +02:00
Vivien Nicolas
c0ef98a9da Remove some useless JS function calls 2011-06-16 01:09:17 +02:00
Vivien Nicolas
d565193cbd Get rid of the PostScript interpreter (part 1) 2011-06-15 23:02:30 +02:00
Chris Jones
8ab68cf17a implement setDash 2011-06-15 12:55:48 -07:00
Chris Jones
672741bc5c Merge branch 'master' of github.com:andreasgal/pdf.js 2011-06-15 12:42:48 -07:00
Chris Jones
58c08ca00f Merge pull request #6 from sbarman/master
type 2 shading
2011-06-15 12:41:40 -07:00
sbarman
7077ad5b67 Merge branch 'master' of github.com:andreasgal/pdf.js
Conflicts:
	pdf.js
2011-06-15 12:37:05 -07:00
Chris Jones
0c4e4d1651 implement some operators and add TODOs for remaining undefined ones 2011-06-15 14:24:44 -05:00
sbarman
a0375c0f0b cleaned up fetchIfRef, changed switch-case to array lookup, changed IsFunction to IsPDFFunction 2011-06-15 11:34:47 -07:00
Andreas Gal
815544ab81 fixes suggested by @brendaneich 2011-06-15 00:37:15 -07:00
Vivien Nicolas
0ad010ecbd Make Type1 glyphs use the default width they declare 2011-06-15 09:21:59 +02:00
Andreas Gal
595f00f82a measure load/compile/render times 2011-06-15 00:20:26 -07:00
Andreas Gal
02df7f8e58 clarify API a bit and hand in xref and resources to ease translation 2011-06-14 23:44:59 -07:00
Andreas Gal
cf4bca7813 completed async font loading framework 2011-06-14 23:41:26 -07:00
Andreas Gal
d94b3006a3 eagerly translate all fonts (a no-op currently) 2011-06-14 23:34:11 -07:00
Andreas Gal
662fab04ca pdf is using a dumb name, content makes much more sense than Contents 2011-06-14 23:22:19 -07:00
Andreas Gal
d1b9e4054a cache results of compilation 2011-06-14 23:16:53 -07:00
Andreas Gal
e8ce0b361d eagerly compile XForm objects 2011-06-14 22:54:49 -07:00
Vivien Nicolas
3fbeeccb96 Forgot to turn off some debug flags 2011-06-15 05:42:15 +02:00
Vivien Nicolas
78e36888fd Add Encodings.js and change the code to generate a CharSet per font, this will allow future changes to the OpenType font generator 2011-06-15 05:40:54 +02:00
Andreas Gal
e7d6b47099 return ready-to-run closure from compile that captures its objpool 2011-06-14 20:36:45 -07:00
Vivien Nicolas
32118c5650 Add a basic support for TrueType (generate fonts with OS/2 table) 2011-06-15 04:46:48 +02:00
Andreas Gal
7a0ba61a2a compile PDF command streams into JS code 2011-06-14 18:31:14 -07:00
sbarman
58ca7ab61c Cleaned up code, renamed PDFFunction class 2011-06-14 13:49:50 -07:00
Vivien Nicolas
bdf8577c48 Remove direct access to the underlying map object of dict in the fonts builder 2011-06-14 21:51:11 +02:00