1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/web
Nicholas Nethercote cd61aad24f Don't scale single-char text divs.
This change makes scrolling noticeably smoother on files with many
single-char text divs, such as the one in #1045. The trade-off is that
the visual appearance of text selection in such documents is slightly
worse, because more text divs overlap.

This change also uses `scaleX(N)` instead of `scale(N, 1)`. This might
be marginally more efficient in terms of JS string concatenation.
2014-08-20 19:34:33 -07:00
..
images Preliminary attachments support 2014-04-18 12:11:00 -04:00
.gitignore CMaps binary packing 2014-03-14 16:46:35 -05:00
chromecom.js Move logic from viewer.js to chromecom.js 2014-04-11 17:37:48 +02:00
compatibility.js only convert in IE9 if the requested responseType is actually an arraybuffer, otherwise just return the responseText. That way the compatibility.js does not break other frameworks like angular that not always want an array from xhr requests. 2014-08-10 10:26:32 +02:00
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.js Use strict equalities in web/debugger.js 2014-08-01 19:21:32 +02:00
default_preferences.js Merge pull request #5082 from Rob--W/chromium-managed-preferences 2014-07-30 23:58:25 +02:00
document_attachments_view.js Converts attachment items to buttons instead of links 2014-04-25 23:15:25 +02:00
document_outline_view.js Move DocumentOutlineView to its own file 2014-04-24 22:58:13 +02:00
document_properties.js Small re-factoring of DocumentProperties 2014-08-16 12:15:49 +02:00
download_manager.js Fixes DownloadManager for IE10 and above 2014-04-28 22:43:05 +02:00
firefoxcom.js Add preprocessor directives for the extension; and refactor FirefoxCom callback 2014-05-28 10:24:06 -05:00
grab_to_pan.js Update Grab to pan to fix performance issue 2014-01-30 00:16:25 +01:00
hand_tool.js Removing unused code 2014-07-18 22:34:50 +02:00
index.html.template Update web/index.html.template 2012-10-02 07:26:20 -05:00
mozPrintCallback_polyfill.js Print shortcut: Ctrl + (Shift +) P only 2014-01-29 18:38:42 +01:00
overlay_manager.js [OverlayManager] Add preventDefault to the keydown event handler 2014-05-27 23:48:02 +02:00
page_view.js Fixes text-selection example 2014-08-06 10:09:27 -05:00
password_prompt.js Convert the existing overlays to use the OverlayManager 2014-05-25 21:33:15 +02:00
pdf_find_bar.js Converting PDFFindBar and PDFFindController to classes 2014-07-29 21:59:01 +02:00
pdf_find_controller.js Converting PDFFindBar and PDFFindController to classes 2014-07-29 21:59:01 +02:00
pdf_history.js [CRX] Fall back to sender.tab.url if !tab.url 2014-01-25 20:15:43 +01:00
preferences.js Managed preferences for Chrome administrators 2014-07-30 22:51:56 +02:00
presentation_mode.js Use full screen width in presentation mode 2014-03-28 08:58:18 +01:00
secondary_toolbar.js Fix issue where pdfDocument is null 2014-08-04 12:27:47 +12:00
text_layer_builder.js Don't scale single-char text divs. 2014-08-20 19:34:33 -07:00
thumbnail_view.js Fixes drawImage for thumbs 2014-06-12 10:28:42 -05:00
ui_utils.js Use strict equalities in web/ui_utils.js 2014-07-31 22:06:38 +02:00
view_history.js Added Promise.catch 2014-05-22 13:53:19 -04:00
viewer-snippet-b2g-activity-header.html Add close button and title bar for b2g. 2012-11-28 11:02:56 -08:00
viewer-snippet-chrome-extension.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer-snippet-firefox-extension.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer-snippet-minified.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer-snippet-mozPrintCallback-polyfill.html Add mozPrintCallback shim 2013-10-08 19:46:59 +02:00
viewer-snippet.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer.css no need to set textlayer properties which are overwritten in individual styles. 2014-08-19 22:47:39 +02:00
viewer.html Adjust the tabindices in the viewer 2014-07-19 12:31:11 +02:00
viewer.js Debounces scroll events in web viewer. 2014-08-18 23:23:32 +02:00