notmasteryet
1d00b89285
Modifying how the artofwar encryption handled; add wdsg_fitc as reftest
2011-09-17 10:32:42 -05:00
Kalervo Kujala
07254bb0a5
Fix small lint warnings.
2011-09-15 23:32:44 +03: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
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
e523e4dc56
Merge pull request #458 from vingtetun/metrics
...
Fix for issue #441 , #412 , #379
2011-09-10 17:27:20 -07:00
Andreas Gal
501a224128
Merge pull request #462 from notmasteryet/bug674619
...
JPEG marker for YCCK images (in support of bug 674619)
2011-09-10 12:37:03 -07:00
notmasteryet
ee21d4113f
JPEG marker for YCCK images (in support of bug 674619)
2011-09-10 13:45:55 -05:00
Vivien Nicolas
7fa63e68dd
Merge with upstream
2011-09-10 20:12:57 +02:00
Vivien Nicolas
13bf137220
Draw glyphs one by one to position them correctly and remove all the scaling hack
2011-09-10 19:40:25 +02:00
Kalervo Kujala
d54e425a96
Refactor the repeat logic in readBlock function.
...
In the function repeat the variabe i is not defined in the scope of the
function. This function was from moved by
92fa629d107cf4de1cb486366d783e890e153306 from its original place which had
the i as defined. This fix avoids the scope dependency.
2011-09-10 20:06:03 +03:00
Vivien Nicolas
001ca071f0
Fix a small bug about how 'W' widths array is parsed
2011-09-10 14:27:04 +02:00
Kalervo Kujala
946c4e2a88
Initialize inputBuf to zero.
2011-09-09 20:12:38 +03:00
Vivien Nicolas
d4fb9c786c
Use the built-in widths to calculate glyphs metrics
2011-09-09 01:35:37 +02:00
Vivien Nicolas
f759e56a02
Merge remote branch 'upstream/master' into HEAD
2011-09-09 01:34:47 +02:00
Kalervo Kujala
63d3f06265
Fix lastRow bug.
...
It was introduced by 99ffc9991e00210d9f4c2dc1a97fee5021553264.
2011-09-09 00:52:11 +03:00
Kalervo Kujala
b8263a5c1f
Initialize inputBuf.
...
Fix also another jslint error.
2011-09-08 23:10:49 +03:00
Kalervo Kujala
d9e01b1d7a
Fix gjslint warnings.
2011-09-08 22:37:35 +03:00
Vivien Nicolas
a7ef696fea
Add an empty 'widths' to the properties object for base font
2011-09-08 03:21:27 +02:00
Vivien Nicolas
f014867bf8
Merge remote branch 'upstream/master' into refactor
2011-09-08 03:16:35 +02:00
Vivien Nicolas
567be29720
Add more glue between glyph mapping and code mapping
2011-09-08 03:16:33 +02:00
notmasteryet
92a7468e9a
Add PDFString conversion
2011-09-07 20:16:32 -05:00
notmasteryet
768554afd8
Merge pull request #454 from vingtetun/refactor
...
Refactor the translateFont() method to be more readable and simpler
2011-09-07 17:30:56 -07:00
Kalervo Kujala
a9e0ddc22f
Use typed arrays instead of normal arrays in FlateStream.
...
Also fix a couple of lint warnings.
2011-09-07 23:07:29 +03:00
Kalervo Kujala
fb5807721e
Fix array initializations.
...
And refactor one loop.
2011-09-07 22:11:30 +03:00
Vivien Nicolas
92081af896
Revert a change from the narrow hack
2011-09-07 20:18:02 +02:00
Vivien Nicolas
c5b83eaf73
Refactor translateFont() to be more readable - part3
2011-09-07 19:56:45 +02:00
Vivien Nicolas
4d2b8ea1c8
Refactor translateFont() to be more readable - part2
2011-09-07 19:34:53 +02:00
Vivien Nicolas
8c21f53c98
Refactor translateFont() to be more readable
2011-09-07 18:00:38 +02:00
notmasteryet
d72178d6dd
Merge pull request #447 from vingtetun/serif
...
Add a list of common serif fonts to not always fallback on sans-serif
2011-09-06 17:33:18 -07:00
notmasteryet
122e4c1e67
Merge pull request #443 from vingtetun/master
...
Partial fix for issue #440
2011-09-06 16:14:48 -07:00
Vivien Nicolas
ea42fd69e4
Add a list of common serif fonts to not always fallback on sans-serif if the font file is missing
2011-09-07 00:29:08 +02:00
Kalervo Kujala
24babb6536
Use unique variable names in toplevelPagesDict function.
2011-09-07 01:17:06 +03:00
Kalervo Kujala
5c132be0e0
Use radix in parseInt function calls.
2011-09-07 00:34:58 +03:00
Vivien Nicolas
5e37bf7aeb
Do not alter the encoding if no file is going to be altered
2011-09-06 17:26:48 +02:00
Vivien Nicolas
0c091ca855
Merge remote branch 'upstream/master'
2011-09-06 15:45:56 +02:00