]>
git.parisson.com Git - pdf.js.git/log
Vivien Nicolas [Thu, 15 Sep 2011 18:07:38 +0000 (20:07 +0200)]
Merge remote branch 'upstream/master' into metrics
Chris Jones [Thu, 15 Sep 2011 04:56:34 +0000 (21:56 -0700)]
Merge pull request #477 from arturadib/sanity-checks
Sanity checks
Artur Adib [Wed, 14 Sep 2011 23:31:50 +0000 (16:31 -0700)]
Merge branch 'refs/heads/check-stylesheet' into continuation-check
Artur Adib [Wed, 14 Sep 2011 23:26:36 +0000 (16:26 -0700)]
Check for stylesheet presence (font.js)
If doc doesn't have a stylesheet, create one.
Artur Adib [Wed, 14 Sep 2011 18:59:20 +0000 (11:59 -0700)]
Check for continuation callback
Andreas Gal [Wed, 14 Sep 2011 03:15:49 +0000 (20:15 -0700)]
Merge pull request #474 from notmasteryet/tree-15
Fixing truncated streams with multiple filters
Chris Jones [Wed, 14 Sep 2011 03:03:56 +0000 (20:03 -0700)]
Merge pull request #473 from notmasteryet/tree-14
Fixing and optimizing isYcckImage()
notmasteryet [Wed, 14 Sep 2011 03:03:46 +0000 (22:03 -0500)]
Fixing truncated streams with multiple filters
Andreas Gal [Wed, 14 Sep 2011 02:36:55 +0000 (19:36 -0700)]
Merge pull request #472 from notmasteryet/artofwar
Disable encryption when a ToUnicode stream is used in a font
notmasteryet [Wed, 14 Sep 2011 01:24:24 +0000 (20:24 -0500)]
Fixing and optimizing isYcckImage()
notmasteryet [Wed, 14 Sep 2011 00:57:30 +0000 (17:57 -0700)]
Merge pull request #471 from kkujala/master
Use values instead of undefined in array initializations.
notmasteryet [Wed, 14 Sep 2011 00:23:49 +0000 (19:23 -0500)]
Disable encryption when a ToUnicode stream is used in a font
Kalervo Kujala [Tue, 13 Sep 2011 17:56:59 +0000 (20:56 +0300)]
Use zeroes in PDFStringTranslateTable array instead of undefined.
Kalervo Kujala [Tue, 13 Sep 2011 17:52:05 +0000 (20:52 +0300)]
Use empty strings in zaph dingbats shadow encodings array instead of undefined.
Kalervo Kujala [Tue, 13 Sep 2011 17:47:13 +0000 (20:47 +0300)]
Use empty strings in symbols shadow encodings array instead of undefined.
Kalervo Kujala [Tue, 13 Sep 2011 17:42:31 +0000 (20:42 +0300)]
Use empty strings in win ansi shadow encodings array instead of undefined.
Kalervo Kujala [Tue, 13 Sep 2011 17:30:41 +0000 (20:30 +0300)]
Use empty strings in standard shadow encodings array instead of undefined.
Kalervo Kujala [Tue, 13 Sep 2011 17:17:05 +0000 (20:17 +0300)]
Use empty strings in mac roman shadow encodings array instead of undefined.
Kalervo Kujala [Tue, 13 Sep 2011 17:08:42 +0000 (20:08 +0300)]
Merge remote-tracking branch 'upstream/master'
notmasteryet [Mon, 12 Sep 2011 23:11:25 +0000 (16:11 -0700)]
Merge pull request #470 from kkujala/master
Small fixes for comments and lint
Kalervo Kujala [Mon, 12 Sep 2011 19:04:43 +0000 (22:04 +0300)]
Use empty strings in mac shadow encodings array instead of undefined.
Kalervo Kujala [Mon, 12 Sep 2011 18:05:52 +0000 (21:05 +0300)]
Use empty strings in shadow encodings array instead of undefined.
Kalervo Kujala [Mon, 12 Sep 2011 17:42:55 +0000 (20:42 +0300)]
Fix gjslint warnings.
Kalervo Kujala [Mon, 12 Sep 2011 17:37:33 +0000 (20:37 +0300)]
Fix Mode comment lines.
Vivien Nicolas [Mon, 12 Sep 2011 16:32:46 +0000 (18:32 +0200)]
Basic support for the embedded font file of CIDFontType0
Chris Jones [Mon, 12 Sep 2011 06:27:10 +0000 (23:27 -0700)]
Merge pull request #469 from kkujala/master
fix jslint warnings in fonts.js
notmasteryet [Sun, 11 Sep 2011 20:32:48 +0000 (13:32 -0700)]
Merge pull request #468 from kkujala/master
fix jslint warnings
Kalervo Kujala [Sun, 11 Sep 2011 20:04:17 +0000 (23:04 +0300)]
fix jslint warnings in fonts.js
Kalervo Kujala [Sun, 11 Sep 2011 19:54:00 +0000 (22:54 +0300)]
fix jslint warnings
jslint revealed unused and misspelled variable names. Also some code was
refactored to be more simple.
Vivien Nicolas [Sun, 11 Sep 2011 15:38:02 +0000 (17:38 +0200)]
Add support for Type1C advanced charsets
Vivien Nicolas [Sun, 11 Sep 2011 14:14:28 +0000 (16:14 +0200)]
Fix a regression caused by the last patch to resolve the 'dotsection' issue
Vivien Nicolas [Sun, 11 Sep 2011 13:32:32 +0000 (15:32 +0200)]
Fix a small error in font encoding
Vivien Nicolas [Sun, 11 Sep 2011 13:23:35 +0000 (15:23 +0200)]
Prevent the deprecated 'dotsection' command in Type1C to hit the sanitizer
notmasteryet [Sun, 11 Sep 2011 00:35:01 +0000 (17:35 -0700)]
Merge pull request #464 from notmasteryet/
4e21e417cdf56a1ba43475510284b3399c4f7b52
Fix test_slave.html for #458
notmasteryet [Sun, 11 Sep 2011 00:27:20 +0000 (17:27 -0700)]
Merge pull request #458 from vingtetun/metrics
Fix for issue #441, #412, #379
Andreas Gal [Sat, 10 Sep 2011 19:37:03 +0000 (12:37 -0700)]
Merge pull request #462 from notmasteryet/bug674619
JPEG marker for YCCK images (in support of bug 674619)
Andreas Gal [Sat, 10 Sep 2011 18:56:26 +0000 (11:56 -0700)]
Merge pull request #461 from kkujala/master
Refactor the repeat logic in readBlock function.
notmasteryet [Sat, 10 Sep 2011 18:45:55 +0000 (13:45 -0500)]
JPEG marker for YCCK images (in support of bug 674619)
Vivien Nicolas [Sat, 10 Sep 2011 18:12:57 +0000 (20:12 +0200)]
Merge with upstream
Vivien Nicolas [Sat, 10 Sep 2011 18:02:42 +0000 (20:02 +0200)]
Fix a small mistake for cmap format 0
Vivien Nicolas [Sat, 10 Sep 2011 18:00:27 +0000 (20:00 +0200)]
Disable hinting until it works
Vivien Nicolas [Sat, 10 Sep 2011 17:40:25 +0000 (19:40 +0200)]
Draw glyphs one by one to position them correctly and remove all the scaling hack
Kalervo Kujala [Sat, 10 Sep 2011 17:06:03 +0000 (20:06 +0300)]
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.
Vivien Nicolas [Sat, 10 Sep 2011 14:49:40 +0000 (16:49 +0200)]
Be more generic for serif/sans-serif rule
Vivien Nicolas [Sat, 10 Sep 2011 14:47:58 +0000 (16:47 +0200)]
Be more generic for bold/italic rules
Vivien Nicolas [Sat, 10 Sep 2011 12:50:46 +0000 (14:50 +0200)]
Fix a small Type1 encoding parsing error that cause the first Type1 font of the Type1 spec to be rejected
Vivien Nicolas [Sat, 10 Sep 2011 12:27:04 +0000 (14:27 +0200)]
Fix a small bug about how 'W' widths array is parsed
Vivien Nicolas [Sat, 10 Sep 2011 11:41:07 +0000 (13:41 +0200)]
Simplify the cmap format 6 conversion - fix #449
notmasteryet [Fri, 9 Sep 2011 22:46:22 +0000 (15:46 -0700)]
Merge pull request #457 from kkujala/master
Fix gjslint warnings.
notmasteryet [Fri, 9 Sep 2011 21:46:46 +0000 (16:46 -0500)]
Fix test_slave.html ref to metrics.js
Kalervo Kujala [Fri, 9 Sep 2011 17:12:38 +0000 (20:12 +0300)]
Initialize inputBuf to zero.
Vivien Nicolas [Fri, 9 Sep 2011 14:37:56 +0000 (16:37 +0200)]
Fix an issue with the vhea/vmtx tables
Vivien Nicolas [Fri, 9 Sep 2011 12:38:09 +0000 (14:38 +0200)]
Fix wrong spacing for format 6
Vivien Nicolas [Fri, 9 Sep 2011 12:26:24 +0000 (14:26 +0200)]
Add a comment for using unit-per-em in the measureText() method
Vivien Nicolas [Fri, 9 Sep 2011 11:32:54 +0000 (13:32 +0200)]
Prevent missing charcode to block the rendering
Vivien Nicolas [Thu, 8 Sep 2011 23:35:37 +0000 (01:35 +0200)]
Use the built-in widths to calculate glyphs metrics
Vivien Nicolas [Thu, 8 Sep 2011 23:34:47 +0000 (01:34 +0200)]
Merge remote branch 'upstream/master' into HEAD
Kalervo Kujala [Thu, 8 Sep 2011 21:52:11 +0000 (00:52 +0300)]
Kalervo Kujala [Thu, 8 Sep 2011 20:10:49 +0000 (23:10 +0300)]
Initialize inputBuf.
Fix also another jslint error.
Kalervo Kujala [Thu, 8 Sep 2011 19:37:35 +0000 (22:37 +0300)]
Fix gjslint warnings.
Andreas Gal [Thu, 8 Sep 2011 01:32:26 +0000 (18:32 -0700)]
Merge pull request #456 from notmasteryet/pdfstring
Add PDFString conversion function
Vivien Nicolas [Thu, 8 Sep 2011 01:21:27 +0000 (03:21 +0200)]
Add an empty 'widths' to the properties object for base font
Vivien Nicolas [Thu, 8 Sep 2011 01:16:35 +0000 (03:16 +0200)]
Merge remote branch 'upstream/master' into refactor
Vivien Nicolas [Thu, 8 Sep 2011 01:16:33 +0000 (03:16 +0200)]
Add more glue between glyph mapping and code mapping
notmasteryet [Thu, 8 Sep 2011 01:16:32 +0000 (20:16 -0500)]
Add PDFString conversion
notmasteryet [Thu, 8 Sep 2011 00:30:56 +0000 (17:30 -0700)]
Merge pull request #454 from vingtetun/refactor
Refactor the translateFont() method to be more readable and simpler
vingtetun [Wed, 7 Sep 2011 23:30:05 +0000 (16:30 -0700)]
Merge pull request #455 from kkujala/master
Fix array initializations.
Kalervo Kujala [Wed, 7 Sep 2011 20:07:29 +0000 (23:07 +0300)]
Use typed arrays instead of normal arrays in FlateStream.
Also fix a couple of lint warnings.
Kalervo Kujala [Wed, 7 Sep 2011 19:11:30 +0000 (22:11 +0300)]
Fix array initializations.
And refactor one loop.
Vivien Nicolas [Wed, 7 Sep 2011 18:18:02 +0000 (20:18 +0200)]
Revert a change from the narrow hack
Vivien Nicolas [Wed, 7 Sep 2011 17:57:25 +0000 (19:57 +0200)]
Merge remote branch 'upstream/master' into refactor
Vivien Nicolas [Wed, 7 Sep 2011 17:56:45 +0000 (19:56 +0200)]
Refactor translateFont() to be more readable - part3
Vivien Nicolas [Wed, 7 Sep 2011 17:34:53 +0000 (19:34 +0200)]
Refactor translateFont() to be more readable - part2
Andreas Gal [Wed, 7 Sep 2011 17:24:21 +0000 (10:24 -0700)]
Merge pull request #453 from vingtetun/master
Fix for #451
Andreas Gal [Wed, 7 Sep 2011 17:17:21 +0000 (10:17 -0700)]
Merge pull request #446 from vingtetun/extension
Initial import of the Firefox extension (issue #424)
Vivien Nicolas [Wed, 7 Sep 2011 16:00:38 +0000 (18:00 +0200)]
Refactor translateFont() to be more readable
Vivien Nicolas [Wed, 7 Sep 2011 13:20:23 +0000 (15:20 +0200)]
Fix lenIV misreading and warn instead of stop for unimplemented Type1 commands
notmasteryet [Wed, 7 Sep 2011 00:33:18 +0000 (17:33 -0700)]
Merge pull request #447 from vingtetun/serif
Add a list of common serif fonts to not always fallback on sans-serif
notmasteryet [Tue, 6 Sep 2011 23:33:40 +0000 (16:33 -0700)]
Merge pull request #448 from kkujala/master
Use radix in parseInt function calls.
notmasteryet [Tue, 6 Sep 2011 23:14:48 +0000 (16:14 -0700)]
Merge pull request #443 from vingtetun/master
Partial fix for issue #440
Kalervo Kujala [Tue, 6 Sep 2011 22:39:48 +0000 (01:39 +0300)]
Use radix in parseInt function calls.
Vivien Nicolas [Tue, 6 Sep 2011 22:29:08 +0000 (00:29 +0200)]
Add a list of common serif fonts to not always fallback on sans-serif if the font file is missing
vingtetun [Tue, 6 Sep 2011 22:21:44 +0000 (15:21 -0700)]
Merge pull request #445 from kkujala/master
Use unique variable names in toplevelPagesDict function.
Vivien Nicolas [Tue, 6 Sep 2011 22:19:58 +0000 (00:19 +0200)]
Fix review comments from #424
Kalervo Kujala [Tue, 6 Sep 2011 22:17:06 +0000 (01:17 +0300)]
Use unique variable names in toplevelPagesDict function.
Vivien Nicolas [Tue, 6 Sep 2011 22:00:24 +0000 (00:00 +0200)]
Initial import of the Firefox extension
notmasteryet [Tue, 6 Sep 2011 21:40:44 +0000 (14:40 -0700)]
Merge pull request #444 from kkujala/master
Use radix in parseInt function calls.
Kalervo Kujala [Tue, 6 Sep 2011 21:34:58 +0000 (00:34 +0300)]
Use radix in parseInt function calls.
Andreas Gal [Tue, 6 Sep 2011 18:06:38 +0000 (11:06 -0700)]
Merge pull request #442 from arturadib/fix-tellAppToQuit
Fixed browser shutdown bug in Mac tests
Artur Adib [Tue, 6 Sep 2011 17:59:14 +0000 (13:59 -0400)]
Fixed browser shutdown bug for Macs
The unnecessary spaces in the URL query were causing `tellAppToQuit()` to fail to detect the query `path`, so the browser was being killed via timeout instead of intended script.
Vivien Nicolas [Tue, 6 Sep 2011 15:26:48 +0000 (17:26 +0200)]
Do not alter the encoding if no file is going to be altered
Vivien Nicolas [Tue, 6 Sep 2011 13:45:56 +0000 (15:45 +0200)]
Merge remote branch 'upstream/master'
vingtetun [Tue, 6 Sep 2011 13:45:07 +0000 (06:45 -0700)]
Merge pull request #438 from notmasteryet/zoom-bookmark
Scrolling (and zoom) to the bookmark
Vivien Nicolas [Tue, 6 Sep 2011 13:12:33 +0000 (15:12 +0200)]
Fix cmap encoding records to pass the sanitizer in the case of a duplicate platform: 1, encoding: 0
Vivien Nicolas [Tue, 6 Sep 2011 13:11:07 +0000 (15:11 +0200)]
Use sans-serif for font fallback by default
Chris Jones [Tue, 6 Sep 2011 03:33:06 +0000 (20:33 -0700)]
Merge pull request #439 from notmasteryet/tree-13
Allow test.py serve files with spaces in the name
notmasteryet [Tue, 6 Sep 2011 03:19:20 +0000 (22:19 -0500)]
Allow test.py serve files with spaces in the name
notmasteryet [Tue, 6 Sep 2011 02:30:06 +0000 (19:30 -0700)]
Merge pull request #436 from vingtetun/master
Fix issue #434
Vivien Nicolas [Tue, 6 Sep 2011 00:28:06 +0000 (02:28 +0200)]
Fix review comments for #436
notmasteryet [Mon, 5 Sep 2011 21:32:46 +0000 (14:32 -0700)]
Merge pull request #437 from kkujala/master
Fix a bug and speed up graycs_getRgbBuffer.