Hello, I am using a combination of RtfFormatProvider and HtmlFormatProvider to allow users to convert Rich Text to HTML. I noticed that even when font size is expressed in RTF in points (or really half-points), when exported to HTML it exports it as pixel sizes - it appears to assume 96 pixels per inch.
Based on this, it changes a 14.5 point font in RTF to a 19.33333 pixel font in HTML.
This works well when the resulting HTML is viewed in an environment that renders at 96 pixels per inch, but in some environments (such as when viewing on a retina display iPad) it makes the font appear much smaller.
Is there a way to control the HtmlFormatProvider to save fonts in points instead of pixels?
Based on this, it changes a 14.5 point font in RTF to a 19.33333 pixel font in HTML.
This works well when the resulting HTML is viewed in an environment that renders at 96 pixels per inch, but in some environments (such as when viewing on a retina display iPad) it makes the font appear much smaller.
Is there a way to control the HtmlFormatProvider to save fonts in points instead of pixels?