Kalervo Kujala
2094c29169
Use data directly in PDFDoc.
...
And create the Stream inside the PDFDoc constructor for a cleaner interface.
Also encapsulate unnecessary details from the user.
14 years ago
Kalervo Kujala
9b14e80fd5
Use lowercase properly in function names.
14 years ago
sbarman
c4699a46da
fix bugs with predictors, png predictor type 0 and 5 (ie noop and paeth)
14 years ago
notmasteryet
2ad3a8bd1c
Fix mediaBox check (regr. of #519 )
14 years ago
notmasteryet
eca6c82bbc
Pattern match optimization
14 years ago
notmasteryet
502f7cb81b
Recovering from misplaced/bad XRef
14 years ago
notmasteryet
ced260c2ff
Reset invalid media box to letter size.
14 years ago
=
630c98052e
Adds support for all the basic graphic state operators
14 years ago
Kalervo Kujala
016c6e2634
Remove else after return in parserGetObj.
14 years ago
Kalervo Kujala
335e86359d
Name anonymous functions for debugging purposes.
...
It also makes profiling more convenient.
14 years ago
=
8072052fb1
Handle references for color space names that are defined in a dictionary
14 years ago
Kalervo Kujala
5c772329d8
Make showText and showSpacedText slightly faster.
14 years ago
Vivien Nicolas
da6acb200a
Fix tests failure by cloning the GlyphsUnicode object
14 years ago
notmasteryet
fc5ae0f875
Fixing getBaseFontMetricsAndMap function name
14 years ago
notmasteryet
2248690d11
Guess default width for FileFont3 using BaseFont
14 years ago
Vivien Nicolas
b7796f123a
Support CropBox attribute
14 years ago
Kalervo Kujala
de03b362cf
Name anonymous functions.
...
This makes profiling much more convenient.
14 years ago
=
e318820a39
Ignore previously parsed xref streams
14 years ago
notmasteryet
dcd4f2ea61
Add LF to isSpace; pass ImageLoader when a pattern is processed
14 years ago
=
31d64af855
Handle missing encoding differences array
14 years ago
Kalervo Kujala
74cddad433
Align switch cases properly.
14 years ago
notmasteryet
7036bcd4c7
Zero gjslint warnings mark
14 years ago
notmasteryet
391ec1f99a
Moving defaultWidth into the charsToGlyphs function
14 years ago
notmasteryet
1d00b89285
Modifying how the artofwar encryption handled; add wdsg_fitc as reftest
14 years ago
notmasteryet
fc574f646a
Fixing double metrics issue for glyphs ( #484 )
14 years ago
notmasteryet
10a2fa66c2
Fixing defaultWidth; variables names
14 years ago
Kalervo Kujala
07254bb0a5
Fix small lint warnings.
14 years ago
notmasteryet
e512000877
Fixing properties.widths is null issue; fips197 test file
14 years ago
Artur Adib
5587cce165
Check for continuation callback
14 years ago
notmasteryet
361d53e1a9
Fixing truncated streams with multiple filters
14 years ago
notmasteryet
4e1a5296d2
Fixing and optimizing isYcckImage()
14 years ago
notmasteryet
94da20d776
Disable encryption when a ToUnicode stream is used in a font
14 years ago
Kalervo Kujala
7a421794a2
Use zeroes in PDFStringTranslateTable array instead of undefined.
14 years ago
Kalervo Kujala
9857287806
Use empty strings in zaph dingbats shadow encodings array instead of undefined.
14 years ago
Kalervo Kujala
67e264e579
Use empty strings in symbols shadow encodings array instead of undefined.
14 years ago
Kalervo Kujala
2b4e722a1c
Use empty strings in win ansi shadow encodings array instead of undefined.
14 years ago
Kalervo Kujala
7a1c02bc9e
Use empty strings in standard shadow encodings array instead of undefined.
14 years ago
Kalervo Kujala
68ceff4081
Use empty strings in mac roman shadow encodings array instead of undefined.
14 years ago
Kalervo Kujala
9256a62304
Use empty strings in mac shadow encodings array instead of undefined.
14 years ago
Kalervo Kujala
30b8d1dd08
Use empty strings in shadow encodings array instead of undefined.
14 years ago
Kalervo Kujala
b5412c13d8
Fix gjslint warnings.
14 years ago
Kalervo Kujala
07662cf035
fix jslint warnings
...
jslint revealed unused and misspelled variable names. Also some code was
refactored to be more simple.
14 years ago
notmasteryet
b5b0357dca
Remove extra space
14 years ago
notmasteryet
eaa5b8dab3
Pruning unreachable code; misc font fixes
14 years ago
Vivien Nicolas
a7332d178a
Fix a small error in font encoding
14 years ago
notmasteryet
faf8b8ac0b
Refactoring charsToUnicode into charsToGlyphs
14 years ago
notmasteryet
ee21d4113f
JPEG marker for YCCK images (in support of bug 674619)
14 years ago
Vivien Nicolas
13bf137220
Draw glyphs one by one to position them correctly and remove all the scaling hack
14 years ago
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
92fa629d10
from its original place which had
the i as defined. This fix avoids the scope dependency.
14 years ago
Vivien Nicolas
001ca071f0
Fix a small bug about how 'W' widths array is parsed
14 years ago