Nicholas Nethercote
be29fc44e0
Avoid repeated creation of a simple RegExp object.
2014-08-07 22:08:23 -07:00
Yury Delendik
e8af56ffc5
Fixes text-selection example
2014-08-06 10:09:27 -05:00
Yury Delendik
666cf02f91
Merge pull request #5137 from CodingFabian/optimize-textbuilder-renderLayer
...
Optimize TextLayerBuilder_renderLayer() for text heavy documents.
2014-08-06 09:09:32 -05:00
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
Tim van der Meij
dbe22475e1
Converting PDFFindBar and PDFFindController to classes
2014-07-29 21:59:01 +02:00
Tim van der Meij
fa33b9c643
Refactoring PDFFindController in the text layer builder
2014-06-23 22:19:18 +02:00
Tim van der Meij
a968da8887
Convert the text layer builder to a class
2014-06-23 22:07:21 +02:00
Tim van der Meij
2a052c4aad
Refactoring text layer builder
2014-06-23 21:40:37 +02:00
Rob Wu
d7dfa447cd
Remove unused (local) variables in web/
2014-04-15 17:10:23 +02:00
Manuel Braun
e7da8edb91
Refactoring - remove duplicated code in TextLayerBuilder
2014-04-14 19:05:21 +02:00
Yury Delendik
f6c631bc31
Reverts #4556 due to flicker on Chome
2014-04-11 14:07:36 -05:00
Yury Delendik
c88696cf5f
Merge pull request #4595 from brendandahl/search-regression
...
Append whitespace divs so matches still line up.
2014-04-11 11:48:57 -05:00
Brendan Dahl
5ba674c996
Append whitespace divs so matches still line up.
2014-04-10 14:01:21 -07:00
p01
b10aa18b3e
Use Opaque Canvas where possible
2014-04-10 11:50:20 +02:00
Brendan Dahl
5bd8a83c9b
Build the text layer geometry on the worker.
2014-04-09 16:44:07 -07:00
Jonas Jenwald
5dcc92430c
Fix coding style in web/text_layer_builder.js
2014-03-10 11:48:20 +01:00
Nicholas Nethercote
d4e8b41639
Remove some unnecessary local variables.
2014-02-24 18:25:59 -08:00
Yury Delendik
96fff4cc74
Refactors getTextContent return value
2014-01-17 13:26:00 -06:00
Yury Delendik
0131101275
Takes ascent/descent in account in the text layer
2014-01-08 13:50:52 -06:00
Jonas Jenwald
736c570231
Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js
2013-12-03 19:55:35 +01:00
Brendan Dahl
9ac950f9a8
Append entire DOM fragment at once.
2013-11-26 11:01:28 -08:00
Srishti
3808d02a53
implementing transform matrix to getTextContent
2013-09-20 06:37:08 +05:30
Jonas
b118ade9ae
Fix searching in presentation mode in Firefox
2013-09-06 09:08:43 +02:00
Srishti
6c3e5e5d92
Fixing the offset of vertical CJK text
2013-07-20 20:56:33 +05:30
Srishti
21a8d62624
Fixes Text rotation issue #2095
2013-06-30 03:52:30 +05:30
Vivin Paliath
83b6eaed16
pr #3356
...
squashing commits.
2013-06-18 09:05:55 -07:00