mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 03:55:47 +08:00
For bug 61203
This commit is contained in:
committed by
Oleg Korshul
parent
51216f27f4
commit
686fc60860
@ -513,14 +513,14 @@ namespace PdfReader
|
||||
}
|
||||
else
|
||||
{
|
||||
double* dDash = new double[nSize];
|
||||
for (int nIndex = 0; nIndex < nSize; ++nIndex)
|
||||
{
|
||||
pDash[nIndex] = PDFCoordsToMM(pDash[nIndex]);
|
||||
}
|
||||
dDash[nIndex] = PDFCoordsToMM(pDash[nIndex]);
|
||||
|
||||
m_pRenderer->PenDashPattern(pDash, (long)nSize);
|
||||
m_pRenderer->PenDashPattern(dDash, (long)nSize);
|
||||
m_pRenderer->put_PenDashStyle(Aggplus::DashStyleCustom);
|
||||
m_pRenderer->put_PenDashOffset(PDFCoordsToMM(dStart));
|
||||
RELEASEARRAYOBJECTS(dDash);
|
||||
}
|
||||
if (bOffCopy)
|
||||
delete[] pDash;
|
||||
|
||||
Reference in New Issue
Block a user