Settings.fontSizeToPoints
uint fontSizeToPoints(uint pixels)Convert pixels to the equivalent value in points.
Applications can use this function to convert font size values in pixels to font size values in points when getting the font size properties of #WebKitSettings.
Parameters
pixels | the font size in pixels to convert to points |
Returns
the equivalent font size in points.