yes, you can use HTML Renderer to measure size.
- you don't have to wrap the html snippet, you can measure it directly and provide separate CSS styles.
- no need to create image, you can create Graphics object by "Graphics.FromHwnd(IntPtr.Zero)".
- be sure to remove all default margins see CssDefaults.cs. I think you see 8px body margin.
- i'm not aware of any text wrapping issues, also will not advice to do it in the first place, better to handle it using alignment, maybe put it in a table.