Fix Huge Fonts on R chart

.. when on a hidpi display
This commit is contained in:
Mark Liversedge
2017-12-27 15:26:35 +00:00
parent 80029cbdcc
commit 068dcf0fb2

View File

@@ -531,7 +531,7 @@ void RGraphicsDevice::onBeforeExecute()
void RGraphicsDevice::setDeviceAttributes(pDevDesc pDev)
{
double pointsize = 12;
double pointsize = 12 / dpiXFactor;
double xoff=0, yoff=0, width=7, height=7;
pDev->startps = pointsize;