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:
parent
e65381c8ee
commit
ea00b0b603
@ -159,7 +159,7 @@ public:
|
||||
break;
|
||||
|
||||
case wxMarkupSpanAttributes::Size_PointParts:
|
||||
font.SetPointSize((spanAttr.m_fontSize + 1023)/1024);
|
||||
font.SetFractionalPointSize(spanAttr.m_fontSize/1024.);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user