Merge pull request #4361 from brendandahl/remove-unused-code

Remove unused calculation from bad merge.
This commit is contained in:
Yury Delendik 2014-02-28 12:48:24 -06:00
commit f8ff93965e

View File

@ -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;