View Single Post
  #5 (permalink)  
Old 4th March 2007
demidov demidov is offline
Junior Member
BS.Player Newbie
 
Join Date: Mar 2005
Posts: 6
Rep Power: 0
demidov is an unknown quantity at this point
Default

Quote:
Originally Posted by adicoto
AFAIK, it supports also font color tags.
Not at all. HTML statements like <font>...</font> are not supported. They are also deprecated in the HTML spec. in favor of CSS styles.
Even those tags, that are supported, are not properly displayed for three reasons: they must be lowercase, text is not unicode, and overall content is displayed piece-wise, one block after another, that gets RTL languages shuffled.
There is, though, a better way to display HTML on windows - it is to transfer all the content to RTF and use TextServices COM class (known otherwise as windowless RTF) to render it on HDC. This way unicode HTML can be displayed properly using only ANSI strings.
Reply With Quote
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20