New Post: HtmlRender.Render generates unformatted image
Hi, Just to update, I ended up using a Table structure instead of <div> with float enabled. I could have possibly done it using <div> positioning and text-align css properties too. But...
View ArticleCreated Unassigned: DIV support [9034]
The following works in all browsers but does not work in HtmlRenderer. I am trying to render multiple overlay images but can't.```<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
View ArticleCommented Unassigned: DIV support [9034]
The following works in all browsers but does not work in HtmlRenderer. I am trying to render multiple overlay images but can't.```<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"...
View ArticleCreated Unassigned: support liquid layout [9035]
after reviewing the code I noticed that they height is often calculated in reverse, starting from the children and working up to the parent. The problem is that if you use % for sizing your elements...
View ArticleNew Post: CSS not used while rendering an image
Hi, First of all, thank you so much for this piece of software, it already saved me tons of work! I have a issue while rendering an image from an html snippet. Below is the code that generates the...
View ArticleNew Post: CSS not used while rendering an image
The call to RenderToImage has an optional parameter of type CssData. Turn your stylesheet into a CssData object by calling the static CssData.Parse method and passing it the stylesheet (as a string). I...
View ArticleNew Post: CSS not used while rendering an image
Is the stylesheet is not loaded at all or is some of the styles do not work? I see you have float/position styles, sorry but they are not currently supported. If the issue is in loading of the...
View ArticleNew Post: custom fonts and selection color
No need for <style> element, just the CSS (remove the first and last "AppendLine" lines)
View ArticleNew Post: loss of font fidelity (missing ClearType?)
The change was from GDI+ to GDI not the other way around and you can still use GDI+ text rendering by setting "UseGdiPlusTextRendering=true;" and clear-type should work and as far as I know there is no...
View ArticleCreated Unassigned: Table cell width invalid calculation [9036]
Hello,I have an issue with this html:```<html><body><table border="1" ><tr><td style="white-space:nowrap;"><a href="foo">Text11</a>...
View ArticleNew Post: Table cell width
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
View ArticleNew Post: Table cell width
a bug indeed, I'm currently working on 1.5 so I won't have time to look at it in the near future, sorry.
View ArticleNew Post: loss of font fidelity (missing ClearType?)
Hi Arthur, Thanks for the prompt reply! I tried that setting both ways, no luck. It is behaving like it isn't setting the hinting, is that possible? In all of my other controls, I'm using GDI+, and am...
View ArticleNew Post: custom fonts and selection color
That was indeed the issue, thanks! The old code would accept the <style> element, but the new code appears to get tripped up by it. Now if I can just get ClearType to work, I'll be all set!
View ArticleNew Post: loss of font fidelity (missing ClearType?)
Weird... it works perfectly for me: Let's try to reproduce it in HTML Renderer demo app.Add your fonts to the custom fonts loading in DemoForm.LoadCustomFonts method:private void LoadCustomFonts() { //...
View ArticleNew Post: loss of font fidelity (missing ClearType?)
It is possibly a difference in the font point size, or transparency? I'm using these styles: builder.AppendLine("div.date { font-family:\"Apple Garamond\"; font-size:13px;...
View ArticleNew Post: loss of font fidelity (missing ClearType?)
None of this made any difference for me, as expected. A lot has changed in a year... What do you see if you use the demo app?
View ArticleNew Post: loss of font fidelity (missing ClearType?)
Demo apps looks the same as what you sent. There is some visible aliasing when you crank it up to 50px, but nothing nearly as bad as what is shown in the original post. This definitely reeks of a...
View ArticleNew Post: loss of font fidelity (missing ClearType?)
Good, so it's not a machine issue. I think you are mixing GDI and GDI+ text rendering in you application."Application.SetCompatibleTextRenderingDefault(true);" will set WinForms controls to use GDI+...
View ArticleNew Post: loss of font fidelity (missing ClearType?)
Yeah my SetCompatibleTextRendering should have no impact as I use no stock controls. Every control is either mine built from scratch and does it's own rendering, or HtmlPanel. As I suspexcted, changing...
View Article