Save to Html Font size problem

General TRichView support forum. Please post your questions here
Post Reply
gdemers_logilys
Posts: 13
Joined: Mon Jun 16, 2014 1:10 pm

Save to Html Font size problem

Post by gdemers_logilys »

I call SaveHTML to get html with pictures and then open a new email with Outlook with the Html and the pictures as attachment.

The problem is that when I format text with a font size of 11. It puts "font size=3" in the html file. It is not exactly 11 pt. Is there a way to write 11pt in the html result file ?
Sergey Tkachenko
Site Admin
Posts: 17534
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

SaveHTML saves HTML without CSS. HTML without CSS does not support defining font sizes in points or pixels, it allows defining font sizes only in relative units, that depend on a browser.

Use SaveHTMLEx instead of SaveHTML.
Post Reply