Browse Source

Remove unused calculation from bad merge.

Brendan Dahl 11 years ago
parent
commit
a77efa0587
  1. 4
      src/core/evaluator.js

4
src/core/evaluator.js

@ -774,10 +774,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() { @@ -774,10 +774,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
dir: bidiResult.dir
};
var renderParams = textState.calcRenderParams(preprocessor.ctm);
bidiText.x = renderParams.renderMatrix[4] - (textState.fontSize *
renderParams.vScale * Math.sin(renderParams.angle));
bidiText.y = renderParams.renderMatrix[5] + (textState.fontSize *
renderParams.vScale * Math.cos(renderParams.angle));
var fontHeight = textState.fontSize * renderParams.vScale;
var fontAscent = font.ascent ? font.ascent * fontHeight :
font.descent ? (1 + font.descent) * fontHeight : fontHeight;

Loading…
Cancel
Save