bvCalculateFontSize
This helper function calculates the font size (from points) for preview window.
BESTVIEWAPI(LONG) bvCalculateFontSize(float fSize);
Parameters:
-
fSize - the size of the font, in points
Return value: the calculated size of the font. The size is calculated using next
formula: size=(LONG) ceil(fSize*2540.0/72.0+0.5);