]>
git.parisson.com Git - pdf.js.git/log
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.
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.
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.
Kalervo Kujala [Mon, 5 Sep 2011 21:11:24 +0000 (00:11 +0300)]
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.
notmasteryet [Mon, 5 Sep 2011 20:54:54 +0000 (15:54 -0500)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into zoom-bookmark
Conflicts:
web/viewer.js
Kalervo Kujala [Mon, 5 Sep 2011 20:11:48 +0000 (23:11 +0300)]
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.
Vivien Nicolas [Mon, 5 Sep 2011 20:09:40 +0000 (22:09 +0200)]
Add '^M' support in the ASCII85Decode filter and fix the fonts code to load the Type1 spec
Vivien Nicolas [Mon, 5 Sep 2011 19:01:39 +0000 (21:01 +0200)]
Length[1-2] can be a reference
Vivien Nicolas [Mon, 5 Sep 2011 16:04:41 +0000 (18:04 +0200)]
Do not add kCmapGlyphOffset to Type1C mapping unless it is necessary
Vivien Nicolas [Mon, 5 Sep 2011 15:34:52 +0000 (17:34 +0200)]
Remove the isDisplayable function and use inline code instead
Vivien Nicolas [Mon, 5 Sep 2011 15:30:59 +0000 (17:30 +0200)]
Merge remote branch 'upstream/master'
Vivien Nicolas [Mon, 5 Sep 2011 15:30:01 +0000 (17:30 +0200)]
Move all format 0 characters to the private area
vingtetun [Mon, 5 Sep 2011 15:08:07 +0000 (08:08 -0700)]
Merge pull request #426 from notmasteryet/zoom
Zoom controls
notmasteryet [Mon, 5 Sep 2011 14:37:35 +0000 (07:37 -0700)]
Merge pull request #435 from vingtetun/master
Fix for #427 and nit of #422
notmasteryet [Mon, 5 Sep 2011 14:07:18 +0000 (09:07 -0500)]
Fixing #426 comment; add '0' key as a scale reset
Vivien Nicolas [Mon, 5 Sep 2011 13:36:38 +0000 (15:36 +0200)]
Fix wrong mapping for issue #434
Vivien Nicolas [Mon, 5 Sep 2011 12:35:03 +0000 (14:35 +0200)]
Fix regression on i9.pdf
Chris Jones [Mon, 5 Sep 2011 07:18:53 +0000 (00:18 -0700)]
Merge pull request #433 from kkujala/master
Fix some jslint warnings.
notmasteryet [Mon, 5 Sep 2011 00:46:06 +0000 (19:46 -0500)]
Exact positioning of the bookmark
notmasteryet [Sun, 4 Sep 2011 23:46:26 +0000 (18:46 -0500)]
Merge branch 'master' of https://github.com/andreasgal/pdf.js.git into zoom-bookmark
Kalervo Kujala [Sun, 4 Sep 2011 11:37:30 +0000 (14:37 +0300)]
Fix some jslint warnings.
notmasteryet [Sat, 3 Sep 2011 19:41:00 +0000 (12:41 -0700)]
Merge pull request #431 from kkujala/master
Fix xref bug.
Kalervo Kujala [Sat, 3 Sep 2011 19:28:45 +0000 (22:28 +0300)]
Address comments for xref bug.