[Pkg-javascript-commits] [pdf.js] 07/72: Lower threshold
David Prévot
taffit at moszumanska.debian.org
Wed Mar 18 20:15:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository pdf.js.
commit 109d67691c866b2c7001524e49c3e53ff9edd762
Author: Hengjie <hengjie at gmail.com>
Date: Fri Feb 13 22:27:17 2015 -0800
Lower threshold
Fixes text selection formatting with https://github.com/vortext/vortext/blob/master/resources/public/examples/TestDocument3.pdf
---
src/core/evaluator.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/evaluator.js b/src/core/evaluator.js
index 267c276..f67e135 100644
--- a/src/core/evaluator.js
+++ b/src/core/evaluator.js
@@ -893,7 +893,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
styles: Object.create(null)
};
var bidiTexts = textContent.items;
- var SPACE_FACTOR = 0.35;
+ var SPACE_FACTOR = 0.3;
var MULTI_SPACE_FACTOR = 1.5;
var self = this;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git
More information about the Pkg-javascript-commits
mailing list