Commit Graph

536 Commits

Author SHA1 Message Date
Vivien Nicolas
0783f3a896 Next try for windows 2011-06-28 01:17:36 +02:00
Vivien Nicolas
61da963dae Give a shot at passing better information to hmtx (hinting is slightly broken) 2011-06-28 00:11:53 +02:00
Vivien Nicolas
798d7a10ca Use the right width field in hmtx 2011-06-27 21:17:25 +02:00
Vivien Nicolas
bcf5ade41c Kill Flatten - part 1 2011-06-26 10:04:56 +02:00
Vivien Nicolas
8241d5fe02 Fix windows/mac font loading detection 2011-06-25 11:52:42 +02:00
Vivien Nicolas
9d04548db3 Type1 fonts pass the sanitizer (again) 2011-06-25 11:22:28 +02:00
Vivien Nicolas
29eae2c468 Do less manual conversion 2011-06-25 05:45:15 +02:00
Vivien Nicolas
7bc26ba127 Add the Type1 subrs into the CFF local subrs index 2011-06-25 05:12:35 +02:00
Vivien Nicolas
1a141cbf17 Add a 'scale' url parameter 2011-06-25 03:48:49 +02:00
Vivien Nicolas
7eab70532e Fix some warnings 2011-06-24 23:33:16 +02:00
Vivien Nicolas
f13cbe883f Update the multi_page_viewer.js code to work with the new FontLoader API 2011-06-24 21:46:48 +02:00
Vivien Nicolas
a71fa0a11f Merge branch 'master' of https://github.com/andreasgal/pdf.js 2011-06-24 21:27:43 +02:00
Vivien Nicolas
c1c8ca4ef3 Do not add the font-loader canvas to the page dom to save some load time 2011-06-24 21:25:08 +02:00
Vivien Nicolas
26389c083a Fix a bunch of warnings from Firebug strict mode 2011-06-24 11:58:05 +02:00
Vivien Nicolas
07ca9bfec5 Start adding a FontLoader class to isolate the font-loaded hack 2011-06-24 11:47:22 +02:00
Chris Jones
2e2924430a Merge pull request #73 from justindarc/master
Updated to follow coding style guidelines
2011-06-23 19:16:18 -07:00
Justin D'Arcangelo
c5b889a47b Brought pdf.js back up to the latest revision. 2011-06-23 21:37:40 -04:00
Justin D'Arcangelo
b9af0da8f8 Fixed vim indentation rules. 2011-06-23 21:18:07 -04:00
Justin D'Arcangelo
b18006a055 Fixed file renaming issues. 2011-06-23 21:17:31 -04:00
Justin D'Arcangelo
f9687a1707 Fixed file renaming issues. 2011-06-23 21:12:39 -04:00
Justin D'Arcangelo
8584daf738 Revert ae2e637044e5abe5d4c119de133e65e0aef4a9b5^..HEAD 2011-06-23 21:11:50 -04:00
Vivien Nicolas
bc7e2b0110 Don't read the lsb instead of the width 2011-06-24 03:01:41 +02:00
Vivien Nicolas
5443714d34 Fix Windows 'hmtx' bust table 2011-06-24 02:58:17 +02:00
Justin D'Arcangelo
791947ff74 Refactored the multi-page viewer to adhere to the coding style guidelines. 2011-06-23 20:50:01 -04:00
Vivien Nicolas
014fc4c0fe Remove code to handle FlateStream differently now that we have a sane interface 2011-06-24 02:45:58 +02:00
Chris Jones
ae2e637044 TODO for bpc!=8 2011-06-23 17:09:42 -07:00
Vivien Nicolas
69449f7346 Merge branch 'master' of https://github.com/vingtetun/pdf.js 2011-06-24 01:39:55 +02:00
Vivien Nicolas
df406d43a1 Remove some useless var 2011-06-24 01:37:54 +02:00
Chris Jones
0bd6e5e064 Merge pull request #65 from sayrer/master
Let the browser quit, add automation into harness rather than rely on shell scripts
2011-06-23 16:18:05 -07:00
Vivien Nicolas
c822a9d614 Merge remote branch 'upstream/master' 2011-06-24 01:01:35 +02:00
Rob Sayre
ebb75998a2 only supply a -foreground argument on Mac. 2011-06-23 15:47:25 -07:00
Chris Jones
d97f9086bd fix rendering of some symbols. Patch by Vivien Nicolas. 2011-06-23 15:36:53 -07:00
Vivien Nicolas
a4bb3cba5b Merge remote branch 'upstream/master' 2011-06-24 00:29:32 +02:00
Chris Jones
a85c31b2c0 Merge pull request #45 from jviereck/master
WebWorker support
2011-06-23 15:21:10 -07:00
Rob Sayre
f212637433 Remove invalid trailing commas. 2011-06-23 15:09:17 -07:00
Julian Viereck
8cd986f15a Small rebase tidyup + cleanup 2011-06-23 23:55:14 +02:00
Vivien Nicolas
e953f2363c Merge remote branch 'upstream/master' 2011-06-23 23:42:01 +02:00
Julian Viereck
d1b75dd633 Replace tic & toc by console.time/timeEnd 2011-06-23 23:33:25 +02:00
Julian Viereck
3bef1534b4 Reverts parts of 60f4d16360: Use old font-is-loaded mechanism + some code refactoring to add bindDOM and bindWorker. 2011-06-23 23:33:25 +02:00
Julian Viereck
d6239571e9 Clear the main canvas right before the next rendering begins. Keeps the canvas from beeing blank for a few ms 2011-06-23 23:33:25 +02:00
Julian Viereck
4b27045d2e Ensure divs used to make fonts load are not visible 2011-06-23 23:33:25 +02:00
Julian Viereck
f256716022 Fix WebWorker logging and add separate timing for fonts. 2011-06-23 23:33:25 +02:00
Julian Viereck
f32dfa9414 Fix sending image data to main thread 2011-06-23 23:33:24 +02:00
Julian Viereck
da7f555fd7 Change postMessage to send only one object that holds the action and data. 2011-06-23 23:33:24 +02:00
Julian Viereck
a3d815074d First pass on review: worker.js -> pdf_worker.js, Font.bind cleanup + other stuff 2011-06-23 23:33:24 +02:00
Julian Viereck
4281f799e5 Move client code into worker_client.js. Cleanup + comments + 2-space-indention 2011-06-23 23:33:24 +02:00
Julian Viereck
08405fa618 Fix putImageData. Needs to be copied byte by byte. 2011-06-23 23:33:24 +02:00
Julian Viereck
0746c7db59 Add PatternProxy; makes page 13 work 2011-06-23 23:33:24 +02:00
Julian Viereck
22bdd50a98 Merge ImageCanvasProxy and CanvasProxy. Add support for rendering multiple canvas objects on the worker and assemble them again on the main thread. 2011-06-23 23:33:24 +02:00
Julian Viereck
000d640258 Replace ImageCanvas by ScratchCanvas 2011-06-23 23:33:23 +02:00