]> git.parisson.com Git - pdf.js.git/log
pdf.js.git
13 years agoVery basic worker implementation
Julian Viereck [Mon, 5 Sep 2011 23:07:03 +0000 (16:07 -0700)]
Very basic worker implementation

13 years agoSet loadedName in Partial Eval
Julian Viereck [Mon, 5 Sep 2011 23:06:31 +0000 (16:06 -0700)]
Set loadedName in Partial Eval

13 years agoNeed to use font.translated.name as unique identifier
Julian Viereck [Mon, 5 Sep 2011 18:19:44 +0000 (11:19 -0700)]
Need to use font.translated.name as unique identifier

13 years agoTrack loaded such that setFont doesnt need to touch xref anymore
Julian Viereck [Mon, 5 Sep 2011 16:26:07 +0000 (09:26 -0700)]
Track loaded such that setFont doesnt need to touch xref anymore

13 years agoMerge pull request #477 from arturadib/sanity-checks
Chris Jones [Thu, 15 Sep 2011 04:56:34 +0000 (21:56 -0700)]
Merge pull request #477 from arturadib/sanity-checks

Sanity checks

13 years agoMerge branch 'refs/heads/check-stylesheet' into continuation-check
Artur Adib [Wed, 14 Sep 2011 23:31:50 +0000 (16:31 -0700)]
Merge branch 'refs/heads/check-stylesheet' into continuation-check

13 years agoCheck for stylesheet presence (font.js)
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.

13 years agoCheck for continuation callback
Artur Adib [Wed, 14 Sep 2011 18:59:20 +0000 (11:59 -0700)]
Check for continuation callback

13 years agoMerge pull request #474 from notmasteryet/tree-15
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

13 years agoMerge pull request #473 from notmasteryet/tree-14
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()

13 years agoFixing truncated streams with multiple filters
notmasteryet [Wed, 14 Sep 2011 03:03:46 +0000 (22:03 -0500)]
Fixing truncated streams with multiple filters

13 years agoMerge pull request #472 from notmasteryet/artofwar
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

13 years agoFixing and optimizing isYcckImage()
notmasteryet [Wed, 14 Sep 2011 01:24:24 +0000 (20:24 -0500)]
Fixing and optimizing isYcckImage()

13 years agoMerge pull request #471 from kkujala/master
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.

13 years agoDisable encryption when a ToUnicode stream is used in a font
notmasteryet [Wed, 14 Sep 2011 00:23:49 +0000 (19:23 -0500)]
Disable encryption when a ToUnicode stream is used in a font

13 years agoUse zeroes in PDFStringTranslateTable array instead of undefined.
Kalervo Kujala [Tue, 13 Sep 2011 17:56:59 +0000 (20:56 +0300)]
Use zeroes in PDFStringTranslateTable array instead of undefined.

13 years agoUse empty strings in zaph dingbats shadow encodings 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.

13 years agoUse empty strings in symbols 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.

13 years agoUse empty strings in win ansi 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.

13 years agoUse empty strings in standard 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.

13 years agoUse empty strings in mac roman 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.

13 years agoMerge remote-tracking branch 'upstream/master'
Kalervo Kujala [Tue, 13 Sep 2011 17:08:42 +0000 (20:08 +0300)]
Merge remote-tracking branch 'upstream/master'

13 years agoMerge pull request #470 from kkujala/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

13 years agoUse empty strings in mac shadow encodings array instead of undefined.
Kalervo Kujala [Mon, 12 Sep 2011 19:04:43 +0000 (22:04 +0300)]
Use empty strings in mac shadow encodings array instead of undefined.

13 years agoUse empty strings in 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.

13 years agoFix gjslint warnings.
Kalervo Kujala [Mon, 12 Sep 2011 17:42:55 +0000 (20:42 +0300)]
Fix gjslint warnings.

13 years agoFix Mode comment lines.
Kalervo Kujala [Mon, 12 Sep 2011 17:37:33 +0000 (20:37 +0300)]
Fix Mode comment lines.

13 years agoMerge pull request #469 from kkujala/master
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

13 years agoMerge pull request #468 from kkujala/master
notmasteryet [Sun, 11 Sep 2011 20:32:48 +0000 (13:32 -0700)]
Merge pull request #468 from kkujala/master

fix jslint warnings

13 years agofix jslint warnings in fonts.js
Kalervo Kujala [Sun, 11 Sep 2011 20:04:17 +0000 (23:04 +0300)]
fix jslint warnings in fonts.js

13 years agofix jslint warnings
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.

13 years agoMerge pull request #464 from notmasteryet/4e21e417cdf56a1ba43475510284b3399c4f7b52
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

13 years agoMerge pull request #458 from vingtetun/metrics
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

13 years agoMerge pull request #462 from notmasteryet/bug674619
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)

13 years agoMerge pull request #461 from kkujala/master
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.

13 years agoJPEG marker for YCCK images (in support of bug 674619)
notmasteryet [Sat, 10 Sep 2011 18:45:55 +0000 (13:45 -0500)]
JPEG marker for YCCK images (in support of bug 674619)

13 years agoMerge with upstream
Vivien Nicolas [Sat, 10 Sep 2011 18:12:57 +0000 (20:12 +0200)]
Merge with upstream

13 years agoFix a small mistake for cmap format 0
Vivien Nicolas [Sat, 10 Sep 2011 18:02:42 +0000 (20:02 +0200)]
Fix a small mistake for cmap format 0

13 years agoDisable hinting until it works
Vivien Nicolas [Sat, 10 Sep 2011 18:00:27 +0000 (20:00 +0200)]
Disable hinting until it works

13 years agoDraw glyphs one by one to position them correctly and remove all the scaling hack
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

13 years agoRefactor the repeat logic in readBlock function.
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.

13 years agoBe more generic for serif/sans-serif rule
Vivien Nicolas [Sat, 10 Sep 2011 14:49:40 +0000 (16:49 +0200)]
Be more generic for serif/sans-serif rule

13 years agoBe more generic for bold/italic rules
Vivien Nicolas [Sat, 10 Sep 2011 14:47:58 +0000 (16:47 +0200)]
Be more generic for bold/italic rules

13 years agoFix a small Type1 encoding parsing error that cause the first Type1 font of the Type1...
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

13 years agoFix a small bug about how 'W' widths array is parsed
Vivien Nicolas [Sat, 10 Sep 2011 12:27:04 +0000 (14:27 +0200)]
Fix a small bug about how 'W' widths array is parsed

13 years agoSimplify the cmap format 6 conversion - fix #449
Vivien Nicolas [Sat, 10 Sep 2011 11:41:07 +0000 (13:41 +0200)]
Simplify the cmap format 6 conversion - fix #449

13 years agoMerge pull request #457 from kkujala/master
notmasteryet [Fri, 9 Sep 2011 22:46:22 +0000 (15:46 -0700)]
Merge pull request #457 from kkujala/master

Fix gjslint warnings.

13 years agoFix test_slave.html ref to metrics.js
notmasteryet [Fri, 9 Sep 2011 21:46:46 +0000 (16:46 -0500)]
Fix test_slave.html ref to metrics.js

13 years agoInitialize inputBuf to zero.
Kalervo Kujala [Fri, 9 Sep 2011 17:12:38 +0000 (20:12 +0300)]
Initialize inputBuf to zero.

13 years agoFix an issue with the vhea/vmtx tables
Vivien Nicolas [Fri, 9 Sep 2011 14:37:56 +0000 (16:37 +0200)]
Fix an issue with the vhea/vmtx tables

13 years agoFix wrong spacing for format 6
Vivien Nicolas [Fri, 9 Sep 2011 12:38:09 +0000 (14:38 +0200)]
Fix wrong spacing for format 6

13 years agoAdd a comment for using unit-per-em in the measureText() method
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

13 years agoPrevent missing charcode to block the rendering
Vivien Nicolas [Fri, 9 Sep 2011 11:32:54 +0000 (13:32 +0200)]
Prevent missing charcode to block the rendering

13 years agoUse the built-in widths to calculate glyphs metrics
Vivien Nicolas [Thu, 8 Sep 2011 23:35:37 +0000 (01:35 +0200)]
Use the built-in widths to calculate glyphs metrics

13 years agoMerge remote branch 'upstream/master' into HEAD
Vivien Nicolas [Thu, 8 Sep 2011 23:34:47 +0000 (01:34 +0200)]
Merge remote branch 'upstream/master' into HEAD

13 years agoFix lastRow bug.
Kalervo Kujala [Thu, 8 Sep 2011 21:52:11 +0000 (00:52 +0300)]
Fix lastRow bug.

It was introduced by 99ffc9991e00210d9f4c2dc1a97fee5021553264.

13 years agoInitialize inputBuf.
Kalervo Kujala [Thu, 8 Sep 2011 20:10:49 +0000 (23:10 +0300)]
Initialize inputBuf.

Fix also another jslint error.

13 years agoFix gjslint warnings.
Kalervo Kujala [Thu, 8 Sep 2011 19:37:35 +0000 (22:37 +0300)]
Fix gjslint warnings.

13 years agoMerge pull request #456 from notmasteryet/pdfstring
Andreas Gal [Thu, 8 Sep 2011 01:32:26 +0000 (18:32 -0700)]
Merge pull request #456 from notmasteryet/pdfstring

Add PDFString conversion function

13 years agoAdd an empty 'widths' to the properties object for base font
Vivien Nicolas [Thu, 8 Sep 2011 01:21:27 +0000 (03:21 +0200)]
Add an empty 'widths' to the properties object for base font

13 years agoMerge remote branch 'upstream/master' into refactor
Vivien Nicolas [Thu, 8 Sep 2011 01:16:35 +0000 (03:16 +0200)]
Merge remote branch 'upstream/master' into refactor

13 years agoAdd more glue between glyph mapping and code mapping
Vivien Nicolas [Thu, 8 Sep 2011 01:16:33 +0000 (03:16 +0200)]
Add more glue between glyph mapping and code mapping

13 years agoAdd PDFString conversion
notmasteryet [Thu, 8 Sep 2011 01:16:32 +0000 (20:16 -0500)]
Add PDFString conversion

13 years agoMerge pull request #454 from vingtetun/refactor
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

13 years agoMerge pull request #455 from kkujala/master
vingtetun [Wed, 7 Sep 2011 23:30:05 +0000 (16:30 -0700)]
Merge pull request #455 from kkujala/master

Fix array initializations.

13 years agoUse typed arrays instead of normal arrays in FlateStream.
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.

13 years agoFix array initializations.
Kalervo Kujala [Wed, 7 Sep 2011 19:11:30 +0000 (22:11 +0300)]
Fix array initializations.

And refactor one loop.

13 years agoRevert a change from the narrow hack
Vivien Nicolas [Wed, 7 Sep 2011 18:18:02 +0000 (20:18 +0200)]
Revert a change from the narrow hack

13 years agoMerge remote branch 'upstream/master' into refactor
Vivien Nicolas [Wed, 7 Sep 2011 17:57:25 +0000 (19:57 +0200)]
Merge remote branch 'upstream/master' into refactor

13 years agoRefactor translateFont() to be more readable - part3
Vivien Nicolas [Wed, 7 Sep 2011 17:56:45 +0000 (19:56 +0200)]
Refactor translateFont() to be more readable - part3

13 years agoRefactor translateFont() to be more readable - part2
Vivien Nicolas [Wed, 7 Sep 2011 17:34:53 +0000 (19:34 +0200)]
Refactor translateFont() to be more readable - part2

13 years agoMerge pull request #453 from vingtetun/master
Andreas Gal [Wed, 7 Sep 2011 17:24:21 +0000 (10:24 -0700)]
Merge pull request #453 from vingtetun/master

Fix for #451

13 years agoMerge pull request #446 from vingtetun/extension
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)

13 years agoRefactor translateFont() to be more readable
Vivien Nicolas [Wed, 7 Sep 2011 16:00:38 +0000 (18:00 +0200)]
Refactor translateFont() to be more readable

13 years agoFix lenIV misreading and warn instead of stop for unimplemented Type1 commands
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

13 years agoMerge pull request #447 from vingtetun/serif
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

13 years agoMerge pull request #448 from kkujala/master
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.

13 years agoMerge pull request #443 from vingtetun/master
notmasteryet [Tue, 6 Sep 2011 23:14:48 +0000 (16:14 -0700)]
Merge pull request #443 from vingtetun/master

Partial fix for issue #440

13 years agoUse radix in parseInt function calls.
Kalervo Kujala [Tue, 6 Sep 2011 22:39:48 +0000 (01:39 +0300)]
Use radix in parseInt function calls.

13 years agoAdd a list of common serif fonts to not always fallback on sans-serif if the font...
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

13 years agoMerge pull request #445 from kkujala/master
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.

13 years agoFix review comments from #424
Vivien Nicolas [Tue, 6 Sep 2011 22:19:58 +0000 (00:19 +0200)]
Fix review comments from #424

13 years agoUse unique variable names in toplevelPagesDict function.
Kalervo Kujala [Tue, 6 Sep 2011 22:17:06 +0000 (01:17 +0300)]
Use unique variable names in toplevelPagesDict function.

13 years agoInitial import of the Firefox extension
Vivien Nicolas [Tue, 6 Sep 2011 22:00:24 +0000 (00:00 +0200)]
Initial import of the Firefox extension

13 years agoMerge pull request #444 from kkujala/master
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.

13 years agoUse radix in parseInt function calls.
Kalervo Kujala [Tue, 6 Sep 2011 21:34:58 +0000 (00:34 +0300)]
Use radix in parseInt function calls.

13 years agoMerge pull request #442 from arturadib/fix-tellAppToQuit
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

13 years agoFixed browser shutdown bug for Macs
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.

13 years agoDo not alter the encoding if no file is going to be altered
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

13 years agoMerge remote branch 'upstream/master'
Vivien Nicolas [Tue, 6 Sep 2011 13:45:56 +0000 (15:45 +0200)]
Merge remote branch 'upstream/master'

13 years agoMerge pull request #438 from notmasteryet/zoom-bookmark
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

13 years agoFix cmap encoding records to pass the sanitizer in the case of a duplicate platform...
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

13 years agoUse sans-serif for font fallback by default
Vivien Nicolas [Tue, 6 Sep 2011 13:11:07 +0000 (15:11 +0200)]
Use sans-serif for font fallback by default

13 years agoMerge pull request #439 from notmasteryet/tree-13
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

13 years agoAllow 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

13 years agoMerge pull request #436 from vingtetun/master
notmasteryet [Tue, 6 Sep 2011 02:30:06 +0000 (19:30 -0700)]
Merge pull request #436 from vingtetun/master

Fix issue #434

13 years agoFix review comments for #436
Vivien Nicolas [Tue, 6 Sep 2011 00:28:06 +0000 (02:28 +0200)]
Fix review comments for #436

13 years agoMerge pull request #437 from kkujala/master
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.

13 years agoFix 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.

13 years agoMerge branch 'master' of https://github.com/andreasgal/pdf.js.git into zoom-bookmark
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