67 Commits (509d3728f1b18620c6718697303968f39c10ad59)

Author SHA1 Message Date
Tim van der Meij 19f56ec5c1
Convert the text layer builder to ES6 syntax 8 years ago
Mukul Mishra 0c13d0ff46 Adds Streams API in getTextContent to stream data. 8 years ago
Jonas Jenwald 223c429357 Fix inconsistent spacing and trailing commas in objects in `web/` files, so we can enable the `comma-dangle` and `object-curly-spacing` ESLint rules later on 8 years ago
Yury Delendik 66c8893815 Removes last UMDs from the modules. 8 years ago
Jonas Jenwald f27b5013e2 Replace unnecessary `bind(this)` statements with arrow functions in `web/` files 8 years ago
Jonas Jenwald 2a0207ccaf Enable the `object-shorthand` ESLint rule in `web` 8 years ago
Jonas Jenwald 79e0745a12 Import `getGlobalEventBus` correctly from `web/dom_events.js` in various `/web` files, to un-break e.g. the viewer components (PR 8203 follow-up) 8 years ago
Yury Delendik 8e681ce3e2 Change amd to cjs path in ES6 modules 8 years ago
Jonas Jenwald b2c3f8f081 Convert a number of `import * as pdfjsLib from 'pdfjs-web/pdfjs';` cases to only specify the necessary imports 8 years ago
Jonas Jenwald 3b35c15d42 Convert the files in the `/web` folder to ES6 modules 8 years ago
Yury Delendik 0576c9c6c6 Replaces all preprocessor directives with PDFJSDev calls. 9 years ago
Jonas Jenwald 885ba83624 Add the number of `textDivs` to the `textlayerrendered` event, to avoid having to manually get that information in the event handler 9 years ago
Jonas Jenwald 3904be8889 Ensure that we cancel any pending `textLayer` rendering operations when the viewer is closed (issue 7274) 9 years ago
Jeremy Press e68f4f855f fixing 7590 by delaying div shrink after mouse up 9 years ago
Tim van der Meij a2525a8ba3 Revert "Add a `enhanceTextSelection` preference to the viewer" 9 years ago
Jonas Jenwald 15e45d772f Add a `enhanceTextSelection` preference to the viewer 9 years ago
Tim van der Meij 7c961b6b7a Minor code style improvements after #7539 9 years ago
Jeremy Press 6faa84abdb Continuing fairexpand #6663 9 years ago
jazzy-em 0a347ec04d Added multiple term search functionality (with default phrase search) 9 years ago
Tim van der Meij 6a7012aaca Remove unused variables 9 years ago
Yury Delendik 7fd3db9977 Adds EventBus. 9 years ago
Yury Delendik 4165cedc9f Replace pdfjsLib with module that represents pdf.js. 9 years ago
Yury Delendik 006e8fb59d Introduces UMD headers to the web/ folder. 9 years ago
Yury Delendik 1e3e14e6b2 Exposes all functional members via lib exports and use them in viewer. 9 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
Yury Delendik 1d8800370a Allow subpixel anti-aliasing for most of the content. 10 years ago
Manas a2ba1b8189 Uses editorconfig to maintain consistent coding styles 10 years ago
Yury Delendik b8ad68af25 Non/less flashing text layer during selection. 10 years ago
Rob Wu 47f2c14723 Optimize text layer: Avoid unneeded .textContent 10 years ago
Jonas Jenwald 3f061cef86 Add a |textlayerrendered| event 10 years ago
Yury Delendik 2565e627a3 Refactors draw method in PDFPageView; makes optional some PDFPageViewOptions options 10 years ago
Yury Delendik 2ac7ac4678 Removes lastScrollSource and isViewerInPresentationMode from TextLayerBuilderOptions 10 years ago
Yury Delendik a89bba35b2 Adds types definitions (jsdoc) for the PDFViewer code. 11 years ago
Nicholas Nethercote cd61aad24f Don't scale single-char text divs. 11 years ago
Fabian Lange 6a0aa2cf49 Set transformOrigin for text layer in css. 11 years ago
Nicholas Nethercote eda7dcbb9e Only use data-font-name attributes when necessary. 11 years ago
Nicholas Nethercote 9695958ebc Remove `position: absolute` from text divs. 11 years ago
Nicholas Nethercote be29fc44e0 Avoid repeated creation of a simple RegExp object. 11 years ago
Yury Delendik e8af56ffc5 Fixes text-selection example 11 years ago
Fabian Lange 39129fc441 Optimize TextLayerBuilder_renderLayer() for text heavy documents. 11 years ago
Tim van der Meij dbe22475e1 Converting PDFFindBar and PDFFindController to classes 11 years ago
Tim van der Meij fa33b9c643 Refactoring PDFFindController in the text layer builder 11 years ago
Tim van der Meij a968da8887 Convert the text layer builder to a class 11 years ago
Tim van der Meij 2a052c4aad Refactoring text layer builder 11 years ago
Rob Wu d7dfa447cd Remove unused (local) variables in web/ 11 years ago
Manuel Braun e7da8edb91 Refactoring - remove duplicated code in TextLayerBuilder 11 years ago
Yury Delendik f6c631bc31 Reverts #4556 due to flicker on Chome 11 years ago
Brendan Dahl 5ba674c996 Append whitespace divs so matches still line up. 11 years ago
p01 b10aa18b3e Use Opaque Canvas where possible 11 years ago