Font sizes are not displaying correctly
Symptoms
Setting the font.Size property does not result in the expected change to the rendered font size.
Cause
The most typical cause of this problem is that the font.Size property value is passed into the HTML page as a string for the StyleSheet font-size property. The StyleSheet value for font-size requires a specifier which determines what unit of measure to use ("pt", "em" or "px").
Resolution/Workaround
Set the font.Size property using the desired unit of measure: Points: 10pt EMS: 12em Pixels: 10px |