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
Fabian Lange 39129fc441 Optimize TextLayerBuilder_renderLayer() for text heavy documents.
This change improves the text layer creation of "normal" text heavy documents.
It changes 2 things:
 * If the text element is not rotated, it will neither calculate nor apply a
   textTransform: rotate(0deg) to the text layer element.
 * For scaling the text layer div, the context will measure the width of the
   text in the given font. For many text documents the font changes seldom.
   If the font stays the same, the context does not need to be set to a new font
   especially avoiding the temporary creation of the same font string over and
   over again.
2014-08-06 00:40:48 +02: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 Use strict equalities in web/compatibility.js 2014-08-01 19:21:33 +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 Use strict equalities in web/document_properties.js 2014-07-31 22:06:39 +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 AnnotationUtils in the extension build 2014-06-18 16:42:08 -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 Move globals in web/pdf_find_bar.js 2014-03-10 15:58:18 +01:00
pdf_find_controller.js Implement text normalization for page content and queries 2014-06-20 23:32:44 +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 Optimize TextLayerBuilder_renderLayer() for text heavy documents. 2014-08-06 00:40:48 +02: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 Removed non-base64 bytes before the last 3 characters 2014-06-11 09:12:26 -04:00
viewer.html Adjust the tabindices in the viewer 2014-07-19 12:31:11 +02:00
viewer.js Fix issue where pdfDocument is null 2014-08-04 12:27:47 +12:00