Yury Delendik
1d12aed5ca
Move all PDFJS.xxx settings into display/global.
9 years ago
Yury Delendik
85e95d34ed
Use RequireJS in the viewer, examples and tests.
9 years ago
Yury Delendik
6b60c8f4db
Adds UMD headers to core, display and shared files.
9 years ago
Tim van der Meij
91274d6d2d
Rename annotation_helper.js to annotation_layer.js
10 years ago
Yury Delendik
56ccaea99b
Move text layer building logic into src/display/text_layer.js
10 years ago
Yury Delendik
2f34fd46cb
Move CustomStyle.
10 years ago
Tim van der Meij
e02ab9fb79
Implement an option to disable automatic scrolling
...
This adds a checkbox with which one can disable scrolling, for example to look back at output during testing. Note that the styles are inline because the test runner removes all <style> elements for each test.
10 years ago
Tim van der Meij
ae8748edfb
Refactor test driver to be more class-like
...
- Extract NullTextLayerBuilder and SimpleTextLayerBuilder from the driver code and create classes for them.
- Move options to the constructor and pass in HTML elements instead of getting them in the driver.
- Remove unused masterMode variable.
- Minor method name updates.
The rest is only moving/indenting existing code and adding 'this'.
10 years ago
Tim van der Meij
58769fd3b9
Refactor test slave
...
- Improved names of elements
- Easier scrolling code
10 years ago
Collin Anderson
54e984c763
cleaned whitespace
10 years ago
Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
11 years ago
Yury Delendik
fcc4dfd9b5
Moves shared/function.js to core/
11 years ago
Yury Delendik
7a19085159
Moves shared/colorspace.js into core/
11 years ago
Michał Gołębiowski
e625af3fef
Remove type="text/javascript" from script tags.
...
"text/javascript" is not a correct MIME type (the correct one is
"application/javascript") but it's not even needed; all browsers default
to the correct type and treat it as executable JS when type is ommited.
Since not all browsers recognize the "application/javascript" MIME type
the only way to both stay compliant and to support all popular browsers
is to omit the type. It's also shorter this way.
11 years ago
Yury Delendik
f57c6935d7
Implements WebGL support
11 years ago
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
11 years ago
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
12 years ago
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
12 years ago
Yury Delendik
0e133f0090
Drawing without fillText; refactoring ADD_TO_PATH
12 years ago
Mack Duan
f8f4b3f45d
Refactor code for annotations
12 years ago
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
12 years ago
Brendan Dahl
332ae4ce41
Change to the Apache v2 license.
13 years ago
Yury Delendik
95bc99f698
Initial JBIG2 code
13 years ago
Brendan Dahl
5608f8e445
Test refactoring for async api.
13 years ago
Adil Allawi
b50cf76ab5
Properly integrate new file bidi.js
13 years ago
notmasteryet
93ca387d1b
Migration of the JPX code (from jpx5)
13 years ago
Brendan Dahl
9bb2b881b0
Adds cmyk jpg support. Treats the cmyk jpg as a regular stream.
14 years ago
Julian Viereck
3b7829d057
Address review comments. Use only one PDFJS.workerSrc variable to specify the worker source
14 years ago
Artur Adib
e9c96c6052
Nit
14 years ago
Artur Adib
f9ba29cf12
Fixed tests
14 years ago
Artur Adib
8fbb05613e
Progress
14 years ago
=
2ad1e622ab
Move remaining worker.js code into pdf.js.
14 years ago
Kalervo Kujala
633baa881f
Make test_slave.html as valid html5.
...
Fix also warnings in the error console that appear from a test run.
14 years ago
Kalervo Kujala
b353a7b37b
Make test_slave.html as valid html5.
...
Fix also warnings in the error console that appear from a test run.
14 years ago
Julian Viereck
23e413520b
Small fixes + docs
14 years ago
notmasteryet
66cd79f308
Initial CID0 font encodings
14 years ago
notmasteryet
107576d634
Removing introduced by the test run DOM elements
14 years ago
Vivien Nicolas
41ebb55d75
Fix tests failures
14 years ago
Julian Viereck
00290b9ff4
Rename some stuff and add missing font_handler.js
14 years ago
Julian Viereck
fea3388c41
Make testdriver use new worker infrastructure
14 years ago
notmasteryet
4e21e417cd
Fix test_slave.html ref to metrics.js
14 years ago
Rob Sayre
a4f8251d10
Make test driver a separate js file, eradicate some global variables.
14 years ago
Chris Jones
eb17d81316
fix test.py bug on windows and stomped failure messages
14 years ago
Chris Jones
a564076b22
add another hackity hack to detect font loaded-ness
14 years ago
notmasteryet
5ece4da552
the "hieght" and the 72dpi<->96dpi fixes
14 years ago
Rob Sayre
42b7c7dfc6
Use AppleScript to close Chrome.
14 years ago
Chris Jones
76f1291284
convert twips->CSS pixels
14 years ago
Chris Jones
f77707814e
convert twips->CSS pixels
14 years ago
Chris Jones
376224bc99
convert twips->CSS pixels
14 years ago
notmasteryet
8a044058f3
Support for multi-size page PDFs
14 years ago