Nicholas Nethercote
eda7dcbb9e
Only use data-font-name attributes when necessary.
...
The data-font-name attribute of textLayer divs are only used by the Font
Inspector. This change ensures they are only present when the pdfBug
tools are enabled.
11 years ago
Tim van der Meij
0e4d9061b2
Merge pull request #5166 from Snuffleupagus/pdfViewClose-cleanup
...
Remove old unused code from PDFView.close()
11 years ago
Yury Delendik
29d116f769
Merge pull request #5163 from yurydelendik/fontrefact
...
Refactoring of OpenType/TrueType font construction
11 years ago
Yury Delendik
ab8270ae3a
Fixes searchRange calculation
11 years ago
Yury Delendik
42771159ca
Removes stringToArray
11 years ago
Yury Delendik
350556f085
Removes bytesToString/stringToArray conversions in the font.js
11 years ago
Yury Delendik
5e1861499c
Merge pull request #5160 from tomdw/feature/fix-angular-compatibility-ie9-conflict
...
only convert in IE9 if the requested responseType is actually an arraybu...
11 years ago
Yury Delendik
4ce1b1e987
Merge pull request #5150 from nnethercote/toUnicode
...
Fix #4935
11 years ago
Jonas Jenwald
4737e1ad8d
Remove old unused code from PDFView.close()
11 years ago
Tim van der Meij
a353f88e6b
Merge pull request #5164 from timvandermeij/svg-nits
...
Nit fixes for svg.js
11 years ago
Tim van der Meij
b6e4ac9070
Nit fixes for svg.js
11 years ago
Tom De Wolf
a265861ba6
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.
11 years ago
Yury Delendik
99b08ed223
Merge pull request #5162 from yurydelendik/pramodhkp-fixupgstate2
...
[SVG] Reduces amount of used memory during PNG creation.
11 years ago
Yury Delendik
56f0539045
Reduces amount of used memory during PNG creation.
11 years ago
pramodhkp
458b69b649
Adds image and mask features, fixes clippath
11 years ago
Yury Delendik
13f1a964a7
Merge pull request #5154 from Rob--W/aes-padding-5152
...
AES cipher: make padding optional
11 years ago
Jonas Jenwald
86d06d650a
Merge pull request #5153 from Rob--W/crx-preserve-reference-fragment
...
Preserve reference fragment in Chromium URL router
11 years ago
Yury Delendik
8909bf1ad9
Merge pull request #5156 from Snuffleupagus/pr-4982-regression
...
Fixes a regression from PR 4982
11 years ago
Tim van der Meij
defb67c89e
Merge pull request #5151 from nnethercote/text_layer_builder-regexp
...
Avoid repeated creation of a simple RegExp object.
11 years ago
Jonas Jenwald
e23ba0987a
Merge pull request #5157 from Rob--W/crx-no-spellcheck-in-url
...
Disable spellcheck in Chromium's URL popup
11 years ago
Jonas Jenwald
2764a678a7
Merge pull request #5158 from Rob--W/email-change
...
Change Rob's email address
11 years ago
Rob Wu
2d2b1a3e91
Change Rob's email address
11 years ago
Rob Wu
4a399a0173
Disable spellcheck in Chromium's URL popup
...
These red waves below a URL are quite useless and only distracting.
11 years ago
Jonas Jenwald
66c56ac546
Fixes a regression from PR 4982
...
After PR 4982, the rendering of the first two pages of http://www.openmagazin.cz/pdf/2011/openMagazin-2011-04.pdf (from issue 215) no longer completes.
The issue is that we cannot have `args === null` in `PartialEvaluator_buildPath`, but *must* use an empty array instead.
In this patch I've also moved the `argsLength` variable definition in `EvaluatorPreprocessor_read`, to make sure that it's always defined.
11 years ago
Rob Wu
a1671fa512
Preserve reference fragment in Chromium URL router
...
Because removed reference fragments are no longer automatically copied
thanks to https://code.google.com/p/chromium/issues/detail?id=354653
11 years ago
Rob Wu
58cd3349db
AES cipher: make padding optional
...
Fixes #5152
11 years ago
Nicholas Nethercote
f82977caf9
Simplify isIdentityUnicode detection.
11 years ago
Nicholas Nethercote
be29fc44e0
Avoid repeated creation of a simple RegExp object.
11 years ago
Nicholas Nethercote
6c8cca1284
Add IdentityToUnicodeMap class.
...
When loading the PDF from issue #4935 , this change reduces peak RSS from
~2400 to ~300 MiB, and improves overall speed by ~81%, from 6336 ms to
1222 ms.
11 years ago
Nicholas Nethercote
9576047f0d
Add ToUnicodeMap class.
11 years ago
Yury Delendik
669a4d196e
Merge pull request #5114 from fkaelberer/fasterJBIG2decodeBitmap
...
Faster JBIG2 bitmap decoding
11 years ago
Yury Delendik
3dce05feef
Merge pull request #5149 from timvandermeij/ccitt-regression
...
Fixes CCITTFaxStream regression
11 years ago
Tim van der Meij
238a5f8a30
Fixes CCITTFaxStream regression
11 years ago
Yury Delendik
cbdaf85130
Merge pull request #5145 from Snuffleupagus/revert-5005-2
...
Revert commit 9a41659
(PR 5005) for breaking the loading of certain PDF files in the Firefox addon when range requests are active
11 years ago
Jonas Jenwald
643ad37f2a
Revert commit 9a41659
(PR 5005) for breaking the loading of certain PDF files in the Firefox addon when range requests are active
11 years ago
Jonas Jenwald
c6c4583956
Merge pull request #5143 from yurydelendik/fix-ts-example
...
Simplify text-selection example.
11 years ago
Yury Delendik
c6f8244ce5
Simplify text-selection example.
11 years ago
Jonas Jenwald
c3fb7ee79a
Merge pull request #5142 from yurydelendik/fix-ts-example
...
Fixes text-selection example
11 years ago
Yury Delendik
e8af56ffc5
Fixes text-selection example
11 years ago
Yury Delendik
196416cc17
Merge pull request #5100 from Rob--W/load-file-in-main-thread
...
Load file:-URLs in the main thread.
11 years ago
Yury Delendik
57860149e9
Merge pull request #5135 from nnethercote/identity-cmap-proper
...
Make IdentityCMaps more compact.
11 years ago
Yury Delendik
666cf02f91
Merge pull request #5137 from CodingFabian/optimize-textbuilder-renderLayer
...
Optimize TextLayerBuilder_renderLayer() for text heavy documents.
11 years ago
Jonas Jenwald
179bb2e136
Merge pull request #5140 from yurydelendik/fetchAsync
...
Removes some bind() calls from fetchAsync
11 years ago
Yury Delendik
223f34be9d
Merge pull request #5141 from yurydelendik/master
...
Fixes lint errors
11 years ago
Yury Delendik
682b93ac9e
Fixes lint errors
11 years ago
Yury Delendik
cc180d7e2b
Removes some bind() calls from fetchAsync
11 years ago
Yury Delendik
46a9a35ddc
Merge pull request #5071 from nnethercote/font-savings
...
Optimize a font-heavy document
11 years ago
Yury Delendik
df8d2573dd
Merge pull request #5007 from timvandermeij/pdfview-tlb
...
Converting PDFFindBar and PDFFindController to classes
11 years ago
Yury Delendik
fa53fcbf57
Merge pull request #5095 from Snuffleupagus/issue-5070
...
Adjust the heuristics to recognize more cases of unknown glyphs for |toUnicode| (issue 5070)
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