Html Generate Image Symbol sequence of confusion

Mar 25, 2016 at 6:35 AM
When I use RenderToImage() method generate the image , there is a problem images Content.

string html = "<html><body><table><tr><td style=\"writing-mode:rl-tb;direction:rtl;text-align:right;\">מצופה : %55 אצטט / %45 אקרילי / למטה</td></tr></table><hr/><div align=\"left\" style=\"width: 380px;font-family:Clotex Universal Icon;font-size:30pt\">¶—∆ě∕</div></body></html>";
System.Drawing.Image image = HtmlRender.RenderToImage(html);
var bitmap = new Bitmap(image);
bitmap.Save(@"D:\Test.png", ImageFormat.Png);
genarete image:

However, the correct display should be as follows:

How solve it?
Mar 28, 2016 at 3:11 AM
Edited Mar 28, 2016 at 3:15 AM

I found a problem.

If I set the Image Size, the generate Image display normal.
System.Drawing.Image image = HtmlRender.RenderToImage(html, new System.Drawing.Size(400, 200));

Now the problem is that I don't know the height of the image.

How can I calculate the height of html?