Commit 7dbdc9f4 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #35601. Now the values of the top and bottom of each paragraph line are scaled to twips.

parent 89a8a67e
......@@ -1422,6 +1422,9 @@ Paragraph.prototype.private_RecalculateLineCheckRanges = function(CurLine, CurPa
var Top2 = PRS.LineTop2;
var Bottom2 = PRS.LineBottom2;
Top = (((Top * 20 * 72 / 25.4) + 0.5) | 0) * 25.4 / 20 / 72;
Bottom = (((Bottom * 20 * 72 / 25.4) + 0.5) | 0) * 25.4 / 20 / 72;
var Left;
if(true === PRS.MathNotInline)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment