Tim van der Meij
b8aaa24257
Convert all `node make` instances to `gulp`
9 years ago
Jonas Jenwald
4a6575643b
[SVG] Specify the `PDFJS.cMapUrl`/`PDFJS.cMapPacked` parameters in the svgviewer example
...
Re: issue 7017.
This should prevent the error, but does not fix the broken rendering.
The rendering issues are caused by `svg.js` not supporting the various text rendering modes, in this case specifically "invisible" (as indicated in the console `Warning: Unimplemented method setTextRenderingMode`).
Compared to the canvas case, where we just ignore invisible text, a smarter solution is probably required for the SVG case. Since just ignoring invisible text in `svg.js` would mean that text-selection isn't possible.
9 years ago
Yury Delendik
85e95d34ed
Use RequireJS in the viewer, examples and tests.
9 years ago
Yury Delendik
79c2f69c32
Adds/modifies examples for node.js and webpack.
9 years ago
Jonas Jenwald
3079dd937f
Remove a superfluous "s" in `AnnotationsLayerBuilder` from files in web/
...
This patch makes the naming consistent with the `TextLayerBuilder`, and also the new `AnnotationLayer`, and should thus help reduce possible confusion when working with the code.
Please note that the files were renamed using `git mv`, in order to preserve blame.
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
06c1904675
Refactors FontLoader to group fonts per document.
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
Manas
a2ba1b8189
Uses editorconfig to maintain consistent coding styles
...
Removes the following as they unnecessary
/* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */
10 years ago
Yury Delendik
601d29b14e
Fixes all examples to require workerSrc to be set.
10 years ago
Jonas Jenwald
1f9466ea02
Add a couple of CSS hacks in order for `scrollIntoView` to work in the "simpleviewer" component example
...
This is intended as a temporary solution, in order to get the "simpleviewer" example to work, until we've re-factored `scrollIntoView` to work in both the standard and components-based viewers.
10 years ago
Jonas Jenwald
297f760dce
Add a `PDFLinkService` instance to the "simpleviewer" component example
10 years ago
Tim van der Meij
70cba472e0
Improve the instructions for the 'hello world' example
10 years ago
Tim van der Meij
fcefcb7e7e
Remove broken links from hello world example
10 years ago
Collin Anderson
54e984c763
cleaned whitespace
10 years ago
Yury Delendik
81649b00a9
Base64 example and be more flexible what type of data is passed.
10 years ago
Yury Delendik
513a3d8c91
Replaces text selection example
10 years ago
Yury Delendik
6048c8a910
Minor node/pdf2svg.js fixes.
11 years ago
Yury Delendik
88d5fa0fc3
Fixes examples comments.
11 years ago
Yury Delendik
5740b96020
Introduces 'pagesinit' event.
11 years ago
Yury Delendik
b16a406f3a
Packages PDFViewer as a UI component.
11 years ago
Yury Delendik
de844a8826
Removes examples from jsbin.com
11 years ago
Yury Delendik
de23d3791e
Fixes image and font embedding
11 years ago
Yury Delendik
bc574aa629
Refactors SVG api
11 years ago
pramodhkp
0e5998a325
Added svg export tool
11 years ago
pramodhkp
6d53fc4db7
Minor changes for api.js, font_loader.js and svg.js
11 years ago
Yury Delendik
c6f8244ce5
Simplify text-selection example.
11 years ago
pramodhkp
7efd50e64d
Added paintJpegXObject
11 years ago
Tim van der Meij
c7e614323a
Removing unnecessary includes from text selection example
11 years ago
Yury Delendik
9a28b8a412
Misc UI improvements for the SVG Viewer
11 years ago
pramodhkp
dd253aadeb
SVG Viewer example demo
11 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
1a8fc8d2b6
Use jQuery 2 in examples
...
Since pdf.js doesn't work in IE8 anyway, it doesn't make sense to use
jQuery 1 with it. jQuery 2 should be used in every example that needs
jQuery.
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
b8344a543c
Basic node.js example that demostrate pdf.combined.js file use
11 years ago
Yury Delendik
e128081857
Adds text-only example
11 years ago
Yury Delendik
9c84bfa416
Fixes text-selection example
11 years ago
Yury Delendik
f57c6935d7
Implements WebGL support
11 years ago
Cristihan
9613ba2e22
Update index.html
11 years ago
Tim van der Meij
1b1a9f1b81
Making all examples adhere to the style guide
11 years ago
Samuel Chantaraud
4eb7c04034
Fixed examples/acroforms/forms.js
11 years ago
Yury Delendik
bf432a37bb
Refactors shared/pattern.js into core/ and display/
11 years ago
Brendan Dahl
7563a9dfa0
Update docs on the workerSrc setting.
12 years ago
Sebastian Kruse
041671f81b
BugFix: Missing var (context) in function call getOutputScale of text-selection example
12 years ago
Vivin Paliath
f3d1f20652
issue #3346
...
squashing commits.
12 years ago
Brendan Dahl
bb2529de03
Move the creation of canvas path fonts to the worker.
12 years ago