Merge pull request #4361 from brendandahl/remove-unused-code
Remove unused calculation from bad merge.
This commit is contained in:
commit
f8ff93965e
@ -774,10 +774,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
|
|||||||
dir: bidiResult.dir
|
dir: bidiResult.dir
|
||||||
};
|
};
|
||||||
var renderParams = textState.calcRenderParams(preprocessor.ctm);
|
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 fontHeight = textState.fontSize * renderParams.vScale;
|
||||||
var fontAscent = font.ascent ? font.ascent * fontHeight :
|
var fontAscent = font.ascent ? font.ascent * fontHeight :
|
||||||
font.descent ? (1 + font.descent) * fontHeight : fontHeight;
|
font.descent ? (1 + font.descent) * fontHeight : fontHeight;
|
||||||
|
Loading…
Reference in New Issue
Block a user