Yury Delendik
e8af56ffc5
Fixes text-selection example
11 years ago
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.
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
Brendan Dahl
5bd8a83c9b
Build the text layer geometry on the worker.
11 years ago
Jonas Jenwald
5dcc92430c
Fix coding style in web/text_layer_builder.js
11 years ago
Nicholas Nethercote
d4e8b41639
Remove some unnecessary local variables.
11 years ago
Yury Delendik
96fff4cc74
Refactors getTextContent return value
11 years ago
Yury Delendik
0131101275
Takes ascent/descent in account in the text layer
11 years ago
Jonas Jenwald
736c570231
Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js
12 years ago
Brendan Dahl
9ac950f9a8
Append entire DOM fragment at once.
12 years ago
Srishti
3808d02a53
implementing transform matrix to getTextContent
12 years ago
Jonas
b118ade9ae
Fix searching in presentation mode in Firefox
12 years ago
Srishti
6c3e5e5d92
Fixing the offset of vertical CJK text
12 years ago
Srishti
21a8d62624
Fixes Text rotation issue #2095
12 years ago
Vivin Paliath
83b6eaed16
pr #3356
...
squashing commits.
12 years ago