Use SetFractionalPointSize() in wxMarkupParser code

Now that fractional sizes are supported, use them instead of rounding up
to integer size.
This commit is contained in:
Vadim Zeitlin 2018-09-15 12:36:39 +02:00
parent e65381c8ee
commit ea00b0b603

View File

@ -159,7 +159,7 @@ public:
break;
case wxMarkupSpanAttributes::Size_PointParts:
font.SetPointSize((spanAttr.m_fontSize + 1023)/1024);
font.SetFractionalPointSize(spanAttr.m_fontSize/1024.);
break;
}