mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[pdf] Fix bug #77389
This commit is contained in:
committed by
Ilya Kirillov
parent
09161ba5e6
commit
63d3286536
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user