[pdf] Fix bug #77389

This commit is contained in:
Nikita Khromov
2025-10-09 16:29:36 +07:00
committed by Ilya Kirillov
parent 09161ba5e6
commit 63d3286536

View File

@ -469,7 +469,8 @@
});
let unredactedPolygon = null;
let mm2px = AscCommon.AscBrowser.retinaPixelRatio * 96 / 25.4;
let zoom = AscCommon.AscBrowser.convertToRetinaValue(oGraphicsWord.m_lWidthPix) / (oDoc.GetPageWidthMM(nPage) * g_dKoef_mm_to_pix);
let mm2px = AscCommon.AscBrowser.retinaPixelRatio * g_dKoef_mm_to_pix * zoom;
if (aRectsList.length) {
let nPageW = oDoc.GetPageWidthMM(nPage) * mm2px;