Hi Daniel,
the HTML editor we use for the RISC client (NicEdit) has - as nearly any wysiwyg-HTML-editor - it's special behaviour...
After updating our lines into...
Code:
public void onLoadText(ActionEvent event)
{
// m_htmlText = "<html><head></head><body style='font-family:Trebuchet MS'><p>Hello world!</p></body></html>";
m_htmlText = "<html><body><p><font face=\"Trebuchet MS\">Hello world! asdgfdasdastd</font></p></body></html>";
}
... the editor shows the correct font.
The editor is quite agnostic when it comes to interpreting style="" but prefers real HTML texts... Because it is a third party tool there is only limited chance to change this behavior.
Regards, Björn