Commit Graph

  • a74d19262a XFA - Don't move glyphes in private area with non-truetype fonts - it has been done in PR #13146 but only for truetype fonts. Calixte Denizet 2021-05-17 16:52:34 +02:00
  • d394188835 Get any width (if one is present) in CFF parser - in charstring specs at page 21 (section 4.2): "Also, it may appear in the charstring as the difference from nominalWidthX" so the number we've on the stack doesn't have to be positive. - currently this bug has probably no visible effect - but when the font is loaded to be used with XFA, then the rendering is incorrect. Calixte Denizet 2021-05-17 14:16:57 +02:00
  • 2fc9f39436
    Merge pull request #13387 from Snuffleupagus/evaluator-some-no-var Tim van der Meij 2021-05-16 18:17:39 +02:00
  • 718f7bf7e1 Fix a few *safe* ESLint no-var failures in src/core/evaluator.js (13371 follow-up) Jonas Jenwald 2021-05-16 15:15:12 +02:00
  • a5c74f53c1
    Merge pull request #13386 from timvandermeij/src-core-bidi-no-var Tim van der Meij 2021-05-16 15:02:18 +02:00
  • 35c82af446
    Merge pull request #13385 from Snuffleupagus/operator_list-class Tim van der Meij 2021-05-16 14:37:41 +02:00
  • b8a5e797c5
    Enable the no-var linting rule in src/core/bidi.js Tim van der Meij 2021-05-16 14:10:36 +02:00
  • 3cfa316d40 Convert src/core/operator_list.js to use standard classes Jonas Jenwald 2021-05-16 13:39:54 +02:00
  • 8a8a67de3b
    Merge pull request #13380 from Snuffleupagus/pattern_helper-class Tim van der Meij 2021-05-16 13:11:04 +02:00
  • ab419cc320
    Merge pull request #13383 from Snuffleupagus/update-packages Tim van der Meij 2021-05-16 13:04:16 +02:00
  • 198ef044f8 Account for changes in eslint-plugin-import version 2.23.0 Jonas Jenwald 2021-05-16 11:17:23 +02:00
  • 8943bcd3c3 Account for formatting changes in Prettier version 2.3.0 Jonas Jenwald 2021-05-16 10:58:34 +02:00
  • 30908451b4 Update l10n files Jonas Jenwald 2021-05-16 10:13:37 +02:00
  • c93958f901 Update npm packages Jonas Jenwald 2021-05-16 10:05:58 +02:00
  • a984431046 Modernize the ShadingIRs structure, in src/display/pattern_helper.js, to use standard classes Jonas Jenwald 2021-05-15 13:25:10 +02:00
  • 40939d5955 Convert src/display/pattern_helper.js to use standard classes Jonas Jenwald 2021-05-15 13:02:40 +02:00
  • 438cf1e438
    Merge pull request #13379 from Snuffleupagus/update-compat Tim van der Meij 2021-05-15 12:08:01 +02:00
  • bb8e15c971 [api-minor] Update minimum supported browser versions (PR 13361 follow-up) Jonas Jenwald 2021-05-15 09:26:44 +02:00
  • d2e7161f2c
    Merge pull request #13377 from Snuffleupagus/pattern-class Tim van der Meij 2021-05-14 22:23:44 +02:00
  • c9892be47c
    Merge pull request #13375 from Snuffleupagus/refactor-getContentStream Tim van der Meij 2021-05-14 22:16:39 +02:00
  • ebe3ee4f25 Modernize the Shadings structure, in src/core/pattern.js, to use standard classes Jonas Jenwald 2021-05-14 16:46:36 +02:00
  • 6acb2db4be Convert src/core/pattern.js to use standard classes Jonas Jenwald 2021-05-14 16:24:49 +02:00
  • f92e1fa160 Replace terminal null char by a endchar command in CFF charstrings to make OTS happy Calixte Denizet 2021-05-14 18:34:51 +02:00
  • 612b43852b Remove unused properties from the Shadings-implementations in src/core/pattern.js Jonas Jenwald 2021-05-14 16:11:48 +02:00
  • 1a2cea21a5 Replace command with not enough args by an endchar in CFF font - Right now, a glyph with an erroneous outline is replaced by an empty glyph if the error is far enough from the start there's likely something to render so the idea is to replace a command with args by an endchar when no args are on the stack: this way OTS is likely happy (no remaining args on stack) and we can draw something which is likely better than nothing. Calixte Denizet 2021-05-14 13:38:26 +02:00
  • 4248f0745c Improve the Page.content and Page.getContentStream methods Jonas Jenwald 2021-05-14 09:59:24 +02:00
  • 70113131de Inline the data lookup in the Dict.getArray method Jonas Jenwald 2021-05-14 09:59:04 +02:00
  • e394da5861
    Merge pull request #13369 from brendandahl/smask-pattern Tim van der Meij 2021-05-13 13:26:38 +02:00
  • 9d1f579413
    Merge pull request #13371 from Snuffleupagus/revert-evaluator-manual-no-var Tim van der Meij 2021-05-13 13:25:55 +02:00
  • 75208d36c2 Revert "Fix the remaining no-var failures, which couldn't be handled automatically, in the src/core/evaluator.js file" (PR 13344 follow-up) Jonas Jenwald 2021-05-13 10:40:08 +02:00
  • 53991d0924 Fix tiling pattern with smask. Brendan Dahl 2021-05-12 11:41:36 -07:00
  • ba99e54c66
    Merge pull request #13361 from brendandahl/patterns-fixes Tim van der Meij 2021-05-12 20:27:37 +02:00
  • 1cf9f42ca2
    Merge pull request #13366 from Snuffleupagus/primitives-class Tim van der Meij 2021-05-12 20:20:35 +02:00
  • 0a3e483c7f
    Merge pull request #13360 from Snuffleupagus/renderer-conditional-pref Tim van der Meij 2021-05-12 20:16:53 +02:00
  • 3fbed09505
    Merge pull request #13368 from Snuffleupagus/image_decoders-Jbig2Image-export Tim van der Meij 2021-05-12 20:13:03 +02:00
  • 4ea7d57bad
    Merge pull request #13363 from Snuffleupagus/lgtm-exclude-useless-assignment-to-local Tim van der Meij 2021-05-12 20:10:04 +02:00
  • 64c55d381d Fix the Jbig2Image export for the gulp image_decoders build (PR 9729 follow-up, issue 13367) Jonas Jenwald 2021-05-12 19:41:29 +02:00
  • 757636d519 Convert the remaining functions in src/core/primitives.js to use standard classes Jonas Jenwald 2021-05-11 17:08:26 +02:00
  • ac44afa70e Fix several issues with radial/axial shadings and tiling patterns. Brendan Dahl 2021-05-10 17:43:37 -07:00
  • dda1a9a7b1
    Merge pull request #13364 from Snuffleupagus/sandbox-TESTING-define calixteman 2021-05-11 12:56:45 +02:00
  • b068882bd0 Clean-up usage of the TESTING-define in src/pdf.sandbox.js Jonas Jenwald 2021-05-11 12:39:33 +02:00
  • 7e82c20301 Prevent LGTM from complaining about useless assignments (PR 12562 follow-up) Jonas Jenwald 2021-05-11 11:36:36 +02:00
  • 7548dc5ea2 Only include the renderer-preference in builds where SVGGraphics is defined Jonas Jenwald 2021-05-10 11:33:06 +02:00
  • f07d50f8ee
    Merge pull request #13358 from Snuffleupagus/rm-WebGL Tim van der Meij 2021-05-09 18:32:37 +02:00
  • 2ba4b65ca8 [api-minor] Remove the WebGL implementation Jonas Jenwald 2021-05-09 15:54:26 +02:00
  • 99eac86478
    Merge pull request #13357 from Snuffleupagus/rm-disableCanvasToImageConversion Tim van der Meij 2021-05-09 15:42:47 +02:00
  • 3c4cd19ea3 Remove the disableCanvasToImageConversion functionality from PDFThumbnailView (PR 7029 follow-up) Jonas Jenwald 2021-04-08 17:09:52 +02:00
  • a6f324dcc7
    Merge pull request #13355 from calixteman/fix_integration_test2 Tim van der Meij 2021-05-08 18:41:29 +02:00
  • 38503d1c5f Fix some integration tests Calixte Denizet 2021-05-08 15:36:16 +02:00
  • 0ec945ce8c
    Merge pull request #13354 from Snuffleupagus/preEvaluateFont-toUnicode-export Tim van der Meij 2021-05-08 14:26:20 +02:00
  • 6eef69de22 Export the "raw" toUnicode-data from PartialEvaluator.preEvaluateFont Jonas Jenwald 2021-05-07 22:25:08 +02:00
  • 13fb1654dc Export the firstChar/lastChar-data from PartialEvaluator.preEvaluateFont Jonas Jenwald 2021-05-07 22:07:23 +02:00
  • e6435e37af
    Merge pull request #13347 from Snuffleupagus/preEvaluateFont-composite-widths Tim van der Meij 2021-05-08 12:01:47 +02:00
  • 8a1cb82aee Ensure that the Widths array is parsed correctly in PartialEvaluator.preEvaluateFont Jonas Jenwald 2021-05-07 12:44:20 +02:00
  • 30b2739adf Ensure that composite/non-composite fonts won't get the same hash in PartialEvaluator.preEvaluateFont Jonas Jenwald 2021-05-07 12:07:30 +02:00
  • fc59a5f709 Take the W array into account when computing the hash, in PartialEvaluator.preEvaluateFont, for composite fonts (issue 13343) Jonas Jenwald 2021-05-07 11:49:58 +02:00
  • a2652bafd9
    Merge pull request #13350 from calixteman/xfa_options Tim van der Meij 2021-05-07 21:16:24 +02:00
  • a3632c0f38
    Merge pull request #13344 from Snuffleupagus/evaluator-no-var Tim van der Meij 2021-05-07 21:02:46 +02:00
  • 5248d0a77d
    Merge pull request #13338 from Snuffleupagus/images-class Tim van der Meij 2021-05-07 20:59:58 +02:00
  • 07395f8dc0
    Merge pull request #13352 from mozilla/dependabot/npm_and_yarn/hosted-git-info-2.8.9 Tim van der Meij 2021-05-07 20:46:53 +02:00
  • f66829e5ea
    Merge pull request #13341 from Snuffleupagus/FontRendererFactory-rm-closure Tim van der Meij 2021-05-07 20:46:08 +02:00
  • 83aa847e21
    Bump hosted-git-info from 2.6.0 to 2.8.9 dependabot[bot] 2021-05-07 18:43:06 +00:00
  • 2ce25bb788
    Merge pull request #13349 from mozilla/dependabot/npm_and_yarn/lodash-4.17.21 Tim van der Meij 2021-05-07 20:41:41 +02:00
  • a0a4cd3f8a Add option enableXfa to the viewer Calixte Denizet 2021-05-07 14:37:47 +02:00
  • e361341449
    Bump lodash from 4.17.19 to 4.17.21 dependabot[bot] 2021-05-07 10:54:18 +00:00
  • af125cd299 JS - Add support for display property - in annotation_layer, move common properties treatment in a common method instead having duplicated code in each widget. Calixte Denizet 2021-05-03 18:03:16 +02:00
  • 0ef9b5aafc Fix the remaining no-var failures, which couldn't be handled automatically, in the src/core/evaluator.js file Jonas Jenwald 2021-05-06 10:08:09 +02:00
  • f93c3b9aa7 Enable the no-var rule in the src/core/evaluator.js file Jonas Jenwald 2021-05-06 09:39:21 +02:00
  • 0a32ad3e42 Remove unnecessary closure in the src/core/font_renderer.js file Jonas Jenwald 2021-05-05 22:20:10 +02:00
  • afb8c4fd25
    Merge pull request #13327 from Snuffleupagus/split-fonts Tim van der Meij 2021-05-05 20:16:24 +02:00
  • 2d24962bf7
    Merge pull request #13339 from Snuffleupagus/textLayer-rm-closure Tim van der Meij 2021-05-05 20:04:42 +02:00
  • c110618a8d
    Merge pull request #13340 from calixteman/fix_integration_test1 Tim van der Meij 2021-05-05 19:59:12 +02:00
  • 451091b89b Fix integration test in the windows bot Calixte Denizet 2021-05-05 19:05:08 +02:00
  • 9a1758c6b8 Remove unnecessary closure in src/display/text_layer.js, and use standard classes Jonas Jenwald 2021-05-05 16:36:18 +02:00
  • ce14171cf0 Convert src/core/jpx.js to use standard classes Jonas Jenwald 2021-05-05 13:02:58 +02:00
  • cb65b762eb Fix the remaining no-var failures, which couldn't be handled automatically, in the src/core/jpx.js file Jonas Jenwald 2021-05-05 12:47:01 +02:00
  • a273599a12 Enable the no-var rule in the src/core/jpx.js file Jonas Jenwald 2021-05-05 12:46:08 +02:00
  • 69dea39a42 Convert src/core/jpg.js to use standard classes Jonas Jenwald 2021-05-05 12:43:28 +02:00
  • d0a299713c Fix the remaining no-var failures, which couldn't be handled automatically, in the src/core/jpg.js file Jonas Jenwald 2021-05-05 12:36:52 +02:00
  • 1e5a179600 Enable the no-var rule in the src/core/jpg.js file Jonas Jenwald 2021-05-05 12:35:33 +02:00
  • 0addf3a0d4 Convert src/core/jbig2.js to use standard classes Jonas Jenwald 2021-05-05 12:27:53 +02:00
  • d59c9ab3ab Fix the remaining no-var failures, which couldn't be handled automatically, in the src/core/jbig2.js file Jonas Jenwald 2021-05-05 12:21:43 +02:00
  • 7ca3a34e1f Enable the no-var rule in the src/core/jbig2.js file Jonas Jenwald 2021-05-05 12:12:35 +02:00
  • 52961197d3
    Merge pull request #13337 from Snuffleupagus/PredictorStream-super calixteman 2021-05-05 13:58:21 +02:00
  • 99fae47c8e [Regression] Move the super-call in the PredictorStream-constructor to prevent errors (PR 13303) Jonas Jenwald 2021-05-05 13:19:55 +02:00
  • a00913aeb2
    Merge pull request #13333 from Snuffleupagus/debugger-no-var calixteman 2021-05-05 09:41:09 +02:00
  • 226a049d54
    Merge pull request #13274 from calixteman/issue13269 Brendan Dahl 2021-05-04 18:40:59 -07:00
  • 3f29892d63 [JS] Fix several issues found in pdf in #13269 - app.alert and few other function can use an object as parameter ({cMsg: ...}); - support app.alert with a question and a yes/no answer; - update field siblings when one is changed in an action; - stop calculation if calculate is set to false in the middle of calculations; - get a boolean for checkboxes when they've been set through annotationStorage instead of a string. Calixte Denizet 2021-04-20 19:21:52 +02:00
  • d99bc5091c [web/debugger.js] Enable the ESLint no-var rule Jonas Jenwald 2021-05-04 14:37:16 +02:00
  • 82afa8ccf0 [web/debugger.js] Convert the Stepper to a standard class Jonas Jenwald 2021-05-04 14:29:05 +02:00
  • 3f187c2c6d
    Merge pull request #13319 from calixteman/js_page calixteman 2021-05-03 16:25:58 +02:00
  • 549aae6c3d JS -- add support for page property in field Calixte Denizet 2021-04-30 16:43:27 +02:00
  • 5e5daca407 Remove unnecessary MissingDataException check from getHeaderBlock Jonas Jenwald 2021-05-02 21:23:12 +02:00
  • b487edd05d Convert src/core/fonts.js to use standard classes Jonas Jenwald 2021-05-02 17:42:48 +02:00
  • cadc20d8b9 Fix the remaining no-var failures, which couldn't be handled automatically, in the src/core/fonts.js file Jonas Jenwald 2021-05-02 17:40:08 +02:00
  • b9cd080c01 Enable the no-var rule in the src/core/fonts.js file Jonas Jenwald 2021-05-02 16:58:28 +02:00
  • f64b7922b3 Convert src/core/type1_font.js to use standard classes Jonas Jenwald 2021-05-02 16:54:45 +02:00
  • 4bd69556ab Enable the no-var rule in the src/core/type1_font.js file Jonas Jenwald 2021-05-02 16:48:39 +02:00
  • ff85bcfc0e Move the Type1Font from src/core/fonts.js and into its own file Jonas Jenwald 2021-05-02 16:46:49 +02:00
  • e803584fe7 Convert src/core/cff_font.js to use standard classes Jonas Jenwald 2021-05-02 16:41:45 +02:00