Tim van der Meij
cdce9c2bee
Update the page title/favicon of the test runner HTML files
...
This commit makes sure that the font tests are no longer reported as
being unit tests and that the PDF.js logo is shown in the browser tab to
make PDF.js-specific resources/tabs more easily identifyable during e.g.
development.
2024-12-22 14:08:56 +01:00
Jonas Jenwald
5e986cb514
Use native import maps in development mode
...
This patch seem to work fine locally now, and `mozregression` points to it being fixed in bug https://bugzilla.mozilla.org/show_bug.cgi?id=1803984 which landed in Firefox 116.
By using the native `import maps` functionality, we can remove a development dependency. Please find the specification at https://wicg.github.io/import-maps/
2023-10-13 20:35:34 +02:00
Jonas Jenwald
8eeb0bcbe4
Import the TestReporter, in the unit and font tests
...
This way it's no longer necessary to load it as a script in the html-files.
2020-10-27 11:30:15 +01:00
Jonas Jenwald
939af08ee1
Remove SystemJS usage from the font-tests
...
With these changes, SystemJS is now *only* used to load the worker-file in development mode (pending removal once https://bugzilla.mozilla.org/show_bug.cgi?id=1247687 is fixed).
2020-10-26 23:42:44 +01:00
Jonas Jenwald
6967b9dd96
Modernize the font-tests
...
This patch first of all enables linting of the files in the `test/font/` folder, and secondly it also re-factors all test files to use native `import`/`export` statements. Finally, all tests are now loaded correctly, rather than being included as scripts through the `font_test.html` file.
2020-10-26 23:42:44 +01:00
Yury Delendik
5b50e0d414
Replaces RequireJS to SystemJS.
2017-02-27 08:32:39 -06:00
Yury Delendik
0a700fa29d
Updates Jasmine version.
2016-03-29 09:34:13 -05:00
Manas
f6d28ca323
Refactors CMapFactory.create to make it async
2016-03-21 23:08:19 +05:30
Yury Delendik
85e95d34ed
Use RequireJS in the viewer, examples and tests.
2015-12-29 09:20:52 -06:00
Yury Delendik
6b60c8f4db
Adds UMD headers to core, display and shared files.
2015-12-15 13:24:39 -06:00
Tim van der Meij
91274d6d2d
Rename annotation_helper.js to annotation_layer.js
2015-12-02 23:30:28 +01:00
Yury Delendik
56ccaea99b
Move text layer building logic into src/display/text_layer.js
2015-11-19 10:50:27 -06:00
Collin Anderson
54e984c763
cleaned whitespace
2015-02-17 11:07:37 -05:00
Jonas Jenwald
b201cc4940
Remove the remaining references to cidmaps.js from the test suite
2014-08-14 12:42:57 +02:00
Yury Delendik
bdeca30fbf
Splits shared/annotation.js into core/ and display/
2014-06-17 17:43:33 -05:00
Yury Delendik
fcc4dfd9b5
Moves shared/function.js to core/
2014-05-23 14:11:47 -05:00
Yury Delendik
7a19085159
Moves shared/colorspace.js into core/
2014-05-23 14:11:47 -05:00
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.
2014-05-13 02:41:01 +02:00
Thorben Bochenek
e8f0700bfa
Move the colour conversion to jpg.js
...
Benchmarking shows that this improves performance for the invitation document
from https://github.com/mozilla/pdf.js/issues/3809 by 35%
2014-04-24 15:07:12 +02:00
Yury Delendik
f57c6935d7
Implements WebGL support
2014-04-03 08:36:22 -05:00
Brendan Dahl
b5b94a4af3
Use built in CMaps and unify the glyph mapping.
2014-02-11 10:27:09 -08:00
Yury Delendik
e9327050c3
Basic function.js split
2014-01-27 20:29:47 -06:00
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
2014-01-25 12:18:22 -06:00
Brendan Dahl
5ecce4996b
Split files into worker and main thread pieces.
2013-08-12 10:48:06 -07:00
Mack Duan
f8f4b3f45d
Refactor code for annotations
2013-05-07 14:22:13 -04:00
Mack Duan
ef423ef30c
Implement progressive loading of PDFs
2013-04-12 16:13:22 -07:00
Yury Delendik
05148e8e7d
Removes vtmx and vhea tables; sanitizes fpgm and prep
2012-11-12 21:10:20 -06:00
Yury Delendik
4da7be8d28
Verifies some of the OS2 font table fields
2012-11-07 11:11:36 -06:00
Yury Delendik
fbe3d71663
Re-creates invalid post table
2012-11-07 11:03:08 -06:00
Yury Delendik
5afec33956
Adds ttx test harness
2012-11-01 19:29:04 -05:00