mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
Edited default mode ShapeRendering for metafile to svg conversion
This commit is contained in:
@ -763,7 +763,7 @@ namespace MetaFile
|
||||
if (InterpretatorType::Svg == oInterpretatorType)
|
||||
{
|
||||
CEmfInterpretatorSvg *pEmfInterpretatorSvg = new CEmfInterpretatorSvg(this, dWidth, dHeight);
|
||||
pEmfInterpretatorSvg->SetShapeRendering(EShapeRendering::CrispEdges);
|
||||
pEmfInterpretatorSvg->SetShapeRendering(EShapeRendering::OptimizeSpeed);
|
||||
m_pInterpretator = pEmfInterpretatorSvg;
|
||||
}
|
||||
}
|
||||
|
||||
@ -196,7 +196,7 @@ namespace MetaFile
|
||||
if (InterpretatorType::Svg == oInterpretatorType)
|
||||
{
|
||||
CWmfInterpretatorSvg *pWmfInterpretatorSvg = new CWmfInterpretatorSvg(this, unWidth, unHeight);
|
||||
pWmfInterpretatorSvg->SetShapeRendering(EShapeRendering::CrispEdges);
|
||||
pWmfInterpretatorSvg->SetShapeRendering(EShapeRendering::OptimizeSpeed);
|
||||
m_pInterpretator = pWmfInterpretatorSvg;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user