Vivien Nicolas
001ca071f0
Fix a small bug about how 'W' widths array is parsed
2011-09-10 14:27:04 +02: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
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
Vivien Nicolas
9012fbd010
Use sans-serif for font fallback by default
2011-09-06 15:11:07 +02:00
notmasteryet
0278e94a40
Merge pull request #436 from vingtetun/master
...
Fix issue #434
2011-09-05 19:30:06 -07:00
Vivien Nicolas
f7ee90cc8c
Fix review comments for #436
2011-09-06 02:28:06 +02:00
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.
2011-09-06 00:11:24 +03:00
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.
2011-09-05 23:11:48 +03:00
Vivien Nicolas
83f930abd6
Add '^M' support in the ASCII85Decode filter and fix the fonts code to load the Type1 spec
2011-09-05 22:09:40 +02:00
Vivien Nicolas
a36436ac78
Remove the isDisplayable function and use inline code instead
2011-09-05 17:34:52 +02:00
Vivien Nicolas
d5dc405e80
Merge remote branch 'upstream/master'
2011-09-05 17:30:59 +02:00
Vivien Nicolas
9701f934ed
Move all format 0 characters to the private area
2011-09-05 17:30:01 +02:00
notmasteryet
89440ebef9
Merge pull request #435 from vingtetun/master
...
Fix for #427 and nit of #422
2011-09-05 07:37:35 -07:00
Vivien Nicolas
b1a5ab6d0f
Fix regression on i9.pdf
2011-09-05 14:35:03 +02:00
Kalervo Kujala
ef2f3cdc24
Fix some jslint warnings.
2011-09-04 14:37:30 +03:00
Kalervo Kujala
2b5ed9b0fc
Address comments for xref bug.
2011-09-03 22:28:45 +03:00
Kalervo Kujala
5ab01e2cd0
Fix xref bug.
...
Use this.xref instead of xref in fetchDestinations function.
2011-09-03 21:41:50 +03:00
Kalervo Kujala
0f4b243752
Small corrections to pdf.js.
...
Also fix some lint errors.
2011-09-03 20:47:58 +03:00
Vivien Nicolas
cd930d9248
Ensure the characters between 127 and 255 are shown
2011-09-02 15:47:34 +02:00
Vivien Nicolas
e26b5b3b00
Show Type1 glyphs below 0x20, fix a bug in readNumberArray, read lenIV
2011-09-01 19:50:04 +02:00
Vivien Nicolas
00d2366d1d
Simulate Arial Black and Arial Narrow
2011-09-01 04:06:33 +02:00
Vivien Nicolas
81e1485e14
Address review comment for pull #419
2011-09-01 01:16:40 +02:00
Vivien Nicolas
c7195a4450
Chromium throw an error on calling defineProperty on a getter only
2011-08-31 14:41:21 +02:00
Vivien Nicolas
25d4fb0d81
Merge remote branch 'upstream/master'
2011-08-31 13:43:28 +02:00
Andreas Gal
ace1f4a746
Merge pull request #416 from notmasteryet/tree-11
...
Fixing lint warnings
2011-08-30 22:29:05 -07:00
notmasteryet
8f044a26aa
Fixing lint warnings
2011-08-30 22:46:02 -05:00
notmasteryet
b03503fc12
Optimization of getComponents()
2011-08-30 22:08:41 -05:00
notmasteryet
c50b3fde20
Fixing Indexed color space ( #411 )
2011-08-30 22:03:15 -05:00
Vivien Nicolas
fbf92068b0
Merge remote branch 'upstream/master'
2011-08-31 04:12:28 +02:00
Kalervo Kujala
4b8274348b
Fix a small bug in getBlackCode.
...
And refactor the code a litlle bit.
2011-08-31 04:46:59 +03:00
Vivien Nicolas
cd7cf3536d
Ensure lastChar is correct if it's not specified
2011-08-31 03:31:45 +02:00
Vivien Nicolas
76f6398e47
Fix some strict warnings
2011-08-31 00:37:39 +02:00