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
Kalervo Kujala
946c4e2a88
Initialize inputBuf to zero.
14 years ago
Vivien Nicolas
d4fb9c786c
Use the built-in widths to calculate glyphs metrics
14 years ago
Kalervo Kujala
63d3f06265
Fix lastRow bug.
...
It was introduced by 99ffc9991e
.
14 years ago
Kalervo Kujala
b8263a5c1f
Initialize inputBuf.
...
Fix also another jslint error.
14 years ago
Kalervo Kujala
d9e01b1d7a
Fix gjslint warnings.
14 years ago
Vivien Nicolas
81d7d1a725
Add widths information for the most common fonts cases
14 years ago
Vivien Nicolas
a7ef696fea
Add an empty 'widths' to the properties object for base font
14 years ago
Vivien Nicolas
567be29720
Add more glue between glyph mapping and code mapping
14 years ago
notmasteryet
92a7468e9a
Add PDFString conversion
14 years ago
Kalervo Kujala
a9e0ddc22f
Use typed arrays instead of normal arrays in FlateStream.
...
Also fix a couple of lint warnings.
14 years ago
Kalervo Kujala
fb5807721e
Fix array initializations.
...
And refactor one loop.
14 years ago
Vivien Nicolas
92081af896
Revert a change from the narrow hack
14 years ago
Vivien Nicolas
c5b83eaf73
Refactor translateFont() to be more readable - part3
14 years ago
Vivien Nicolas
4d2b8ea1c8
Refactor translateFont() to be more readable - part2
14 years ago
Vivien Nicolas
8c21f53c98
Refactor translateFont() to be more readable
14 years ago
Vivien Nicolas
ea42fd69e4
Add a list of common serif fonts to not always fallback on sans-serif if the font file is missing
14 years ago
Kalervo Kujala
24babb6536
Use unique variable names in toplevelPagesDict function.
14 years ago
Kalervo Kujala
5c132be0e0
Use radix in parseInt function calls.
14 years ago
Vivien Nicolas
5e37bf7aeb
Do not alter the encoding if no file is going to be altered
14 years ago
Vivien Nicolas
9012fbd010
Use sans-serif for font fallback by default
14 years ago
Vivien Nicolas
f7ee90cc8c
Fix review comments for #436
14 years ago
Kalervo Kujala
d4b8326496
Fix a bug and speed up graycs_getRgbBuffer.
...
An rgbBuffer was created which was three times as big as intended. It also
caused that the function was very slow when rendering cable.pdf. Which led
to a slow script warning dialog.
With this fix the function speeds up fifteen-fold in the firebug profile.
14 years ago
Kalervo Kujala
80304b6976
Fix a bug and speed up graycs_getRgbBuffer.
...
An rgbBuffer was created which was three times as big as intended. It also
caused that the function was very slow when rendering cable.pdf. Which led
to a slow script warning dialog.
With this fix the function speeds up ten-fold in the firebug profile.
14 years ago
Vivien Nicolas
83f930abd6
Add '^M' support in the ASCII85Decode filter and fix the fonts code to load the Type1 spec
14 years ago
Vivien Nicolas
a36436ac78
Remove the isDisplayable function and use inline code instead
14 years ago
Vivien Nicolas
9701f934ed
Move all format 0 characters to the private area
14 years ago
Vivien Nicolas
b1a5ab6d0f
Fix regression on i9.pdf
14 years ago
Kalervo Kujala
ef2f3cdc24
Fix some jslint warnings.
14 years ago
Kalervo Kujala
2b5ed9b0fc
Address comments for xref bug.
14 years ago
Kalervo Kujala
5ab01e2cd0
Fix xref bug.
...
Use this.xref instead of xref in fetchDestinations function.
14 years ago
Kalervo Kujala
0f4b243752
Small corrections to pdf.js.
...
Also fix some lint errors.
14 years ago
Vivien Nicolas
cd930d9248
Ensure the characters between 127 and 255 are shown
14 years ago
Vivien Nicolas
e26b5b3b00
Show Type1 glyphs below 0x20, fix a bug in readNumberArray, read lenIV
14 years ago
Vivien Nicolas
00d2366d1d
Simulate Arial Black and Arial Narrow
14 years ago
Vivien Nicolas
81e1485e14
Address review comment for pull #419
14 years ago