Commit e708e2bb authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 15364 🐛

parent 4146ad3f
......@@ -1759,10 +1759,11 @@
} else {
var pageWidthWithFields = pageWidth - pageLeftField - pageRightField;
var pageHeightWithFields = pageHeight - pageTopField - pageBottomField;
var leftFieldInPt = pageLeftField / vector_koef;
var topFieldInPt = pageTopField / vector_koef;
var rightFieldInPt = pageRightField / vector_koef;
var bottomFieldInPt = pageBottomField / vector_koef;
// 1px offset for borders
var leftFieldInPt = pageLeftField / vector_koef + this.width_1px;
var topFieldInPt = pageTopField / vector_koef + this.height_1px;
var rightFieldInPt = pageRightField / vector_koef + this.width_1px;
var bottomFieldInPt = pageBottomField / vector_koef + this.height_1px;
if (pageHeadings) {
// Рисуем заголовки, нужно чуть сдвинуться
......
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