Commit graph

698 commits

Author SHA1 Message Date
Andreas Gal
8c7934e59d Merge pull request #509 from vingtetun/master
Support CropBox (see PDFReference page 145)
2011-09-22 16:03:41 -07:00
Andreas Gal
e96e9a14bb Merge pull request #512 from kkujala/master
Make showText and showSpacedText slightly faster.
2011-09-22 14:36:48 -07:00
=
8072052fb1 Handle references for color space names that are defined in a dictionary 2011-09-22 13:17:28 -07:00
Kalervo Kujala
5c772329d8 Make showText and showSpacedText slightly faster. 2011-09-22 23:01:16 +03:00
Vivien Nicolas
da6acb200a Fix tests failure by cloning the GlyphsUnicode object 2011-09-22 13:39:28 +02:00
notmasteryet
fc5ae0f875 Fixing getBaseFontMetricsAndMap function name 2011-09-21 21:53:36 -05:00
notmasteryet
ed21c8590c Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into tree-22
Conflicts:
	pdf.js
2011-09-21 20:00:35 -05:00
notmasteryet
2248690d11 Guess default width for FileFont3 using BaseFont 2011-09-21 19:56:09 -05:00
vingtetun
eb592e09e4 Merge pull request #507 from kkujala/master
Name anonymous functions for debugging purpose
2011-09-21 16:42:05 -07:00
Vivien Nicolas
b7796f123a Support CropBox attribute 2011-09-22 00:32:36 +02:00
Kalervo Kujala
de03b362cf Name anonymous functions.
This makes profiling much more convenient.
2011-09-21 23:46:29 +03:00
=
e318820a39 Ignore previously parsed xref streams 2011-09-21 10:04:21 -07:00
Chris Jones
7751b83821 Merge pull request #504 from notmasteryet/tree-21
Trivial fixes
2011-09-20 18:12:13 -07:00
notmasteryet
dcd4f2ea61 Add LF to isSpace; pass ImageLoader when a pattern is processed 2011-09-20 19:04:12 -05:00
=
31d64af855 Handle missing encoding differences array 2011-09-20 15:42:52 -07:00
Kalervo Kujala
74cddad433 Align switch cases properly. 2011-09-19 23:17:58 +03:00
vingtetun
7a81e79138 Merge pull request #466 from notmasteryet/charstoglyphs
Refactoring charsToUnicode into charsToGlyphs
2011-09-19 07:34:46 -07:00
notmasteryet
7036bcd4c7 Zero gjslint warnings mark 2011-09-18 14:44:57 -05:00
notmasteryet
e59a36a015 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs 2011-09-18 09:11:53 -05:00
notmasteryet
391ec1f99a Moving defaultWidth into the charsToGlyphs function 2011-09-18 09:11:31 -05:00
Chris Jones
537eb8f47b Merge pull request #488 from notmasteryet/issue-484-a
Fixing double metrics issue for glyphs (#484)
2011-09-17 19:42:13 -07:00
notmasteryet
0b1b8da982 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
Conflicts:
	test/test_manifest.json
2011-09-17 11:23:34 -05:00
notmasteryet
1d00b89285 Modifying how the artofwar encryption handled; add wdsg_fitc as reftest 2011-09-17 10:32:42 -05:00
notmasteryet
fc574f646a Fixing double metrics issue for glyphs (#484) 2011-09-16 22:49:43 -05:00
notmasteryet
582b760a65 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs 2011-09-15 19:50:55 -05:00
notmasteryet
10a2fa66c2 Fixing defaultWidth; variables names 2011-09-15 19:26:32 -05:00
Kalervo Kujala
07254bb0a5 Fix small lint warnings. 2011-09-15 23:32:44 +03:00
notmasteryet
1347db797c Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
Conflicts:
	test/test_manifest.json
2011-09-14 21:45:12 -05:00
notmasteryet
e512000877 Fixing properties.widths is null issue; fips197 test file 2011-09-14 21:29:32 -05:00
Artur Adib
5587cce165 Check for continuation callback 2011-09-14 11:59:20 -07:00
Andreas Gal
4dd79a51c1 Merge pull request #474 from notmasteryet/tree-15
Fixing truncated streams with multiple filters
2011-09-13 20:15:49 -07:00
Chris Jones
78528b6d04 Merge pull request #473 from notmasteryet/tree-14
Fixing and optimizing isYcckImage()
2011-09-13 20:03:56 -07:00
notmasteryet
361d53e1a9 Fixing truncated streams with multiple filters 2011-09-13 22:03:46 -05:00
Andreas Gal
2132a2f57c Merge pull request #472 from notmasteryet/artofwar
Disable encryption when a ToUnicode stream is used in a font
2011-09-13 19:36:55 -07:00
notmasteryet
4e1a5296d2 Fixing and optimizing isYcckImage() 2011-09-13 20:24:24 -05:00
notmasteryet
94da20d776 Disable encryption when a ToUnicode stream is used in a font 2011-09-13 19:23:49 -05:00
Kalervo Kujala
7a421794a2 Use zeroes in PDFStringTranslateTable array instead of undefined. 2011-09-13 20:56:59 +03:00
Kalervo Kujala
9857287806 Use empty strings in zaph dingbats shadow encodings array instead of undefined. 2011-09-13 20:52:05 +03:00
Kalervo Kujala
67e264e579 Use empty strings in symbols shadow encodings array instead of undefined. 2011-09-13 20:47:13 +03:00
Kalervo Kujala
2b4e722a1c Use empty strings in win ansi shadow encodings array instead of undefined. 2011-09-13 20:42:31 +03:00
Kalervo Kujala
7a1c02bc9e Use empty strings in standard shadow encodings array instead of undefined. 2011-09-13 20:30:41 +03:00
Kalervo Kujala
68ceff4081 Use empty strings in mac roman shadow encodings array instead of undefined. 2011-09-13 20:17:05 +03:00
notmasteryet
40e0cb40a6 Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into charstoglyphs
Conflicts:
	fonts.js
2011-09-12 18:14:18 -05:00
Kalervo Kujala
9256a62304 Use empty strings in mac shadow encodings array instead of undefined. 2011-09-12 22:04:43 +03:00
Kalervo Kujala
30b8d1dd08 Use empty strings in shadow encodings array instead of undefined. 2011-09-12 21:05:52 +03:00
Kalervo Kujala
b5412c13d8 Fix gjslint warnings. 2011-09-12 20:42:55 +03:00
Kalervo Kujala
07662cf035 fix jslint warnings
jslint revealed unused and misspelled variable names. Also some code was
refactored to be more simple.
2011-09-11 22:54:00 +03:00
notmasteryet
b5b0357dca Remove extra space 2011-09-11 13:37:13 -05:00
notmasteryet
eaa5b8dab3 Pruning unreachable code; misc font fixes 2011-09-11 13:32:08 -05:00
notmasteryet
faf8b8ac0b Refactoring charsToUnicode into charsToGlyphs 2011-09-10 20:21:20 -05:00