Skip to content

Releases: ArthurHub/HTML-Renderer

1.5.0.1

Choose a tag to compare

@eXpl0it3r eXpl0it3r released this 09 Dec 07:16
  • Add missing words
  • Add missing references

1.5.0

Choose a tag to compare

@eXpl0it3r eXpl0it3r released this 09 Dec 07:14

Features

  • Multi-framework support
    • WinForms
    • WPF
    • Mono
    • PdfSharp
  • WPF
    • Native - no WinForms interop or hacks
    • Native WPF controls (HtmlPanel, HtmlLabel)
    • Feature parity with WinForms
    • Dependency property and routed events
    • Excellent performance
  • Mono
    • Subset to WinForms HtmlRenderer
    • GdiPlus text rendering only
  • PdfSharp
    • Text selection
    • Links and anchors
  • Extensibility support for other frameworks using Core library
    • Silverlight
    • Metro (Win8/Windows RT/Windows Phone)
    • Xamarin (iOS/Android)
    • Unity/XNA (gaming)
  • Split library into core assembly and additional assembly for each framework
    • Core - dependency only on System
    • WinForms
    • WPF
    • PdfSharp
  • Object model minor changes and namespace changes
  • Demo application
    • Improve WinForms demo to show image and PDF generation
    • WinForms demo build that work on Mono
    • Full WPF demo application
  • Change build script to batch file
  • Added clear current selection method
  • Added LoadComplete event on when set html if fully parsed and layouted

Fixes

  • Fix table center/right alignment
  • Fix sub, sup style text handling.
  • Fix possible infinite loop in CorrectRelativeUrls
  • Improve image downloading handling
    • Fix collision of downloading the same image
    • Don't cache failed or partial image downloads responses
    • Synchronization issues
  • Padding support on HtmlLabel and HtmlPanel controls
  • URL attributes with double quotes are not processed correctly (thx Richard)
  • Fix html clearing not resetting ActualSize
  • Height calculation trimming last pixel
  • Fix actual width calculation when location.X is set
  • Fix WinForms horizonal scroll content clipping
  • Fix high CPU usage while holding mouse down (thx Ryan)
  • Handle possibility of no requested style exists for the font, use regular then
  • Fix table cell width calculation too small when using multiple blocks with whitespaces
  • Fix styles parsing for html and * wildcard
  • Removed default body style (10pt Tahoma)

1.4.14.0

Choose a tag to compare

@ArthurHub ArthurHub released this 26 Apr 16:02
  • Fix tooltip max size handling (thx deviantus)
  • Fix parsing error with element containing psedo class and style (thx deviantus)
  • Fix HtmlPanel, HtmlLabel huge text bug (thx deviantus)
  • Fix not parsing css style if contained in html comment
  • Fix parsing of unknown single elements <bla />
  • Fix parsing if text ends with closing of single tag
  • Fix links not working if defined with display:block
  • Fix RTL text rendering (שלום,)
  • Fix and improved rich text (HTML) copy-paste handing
    • Fix paste not working to browsers
    • Clean pasted html style from default style
    • Fix spaces added in copied html
    • Correct html fragment placement - not to include not selected blocks
    • Handle Unicode
  • Improve html parsing for edge cases related to block elements inside inline elements
    • Fix CorrectBlockInsideInline creating deep hierarchy
    • Fix CorrectBlockInsideInline creating empty blocks\boxes
    • Fix CorrectBlockInsideInline bad performance
  • Native border for HtmlPanel/HtmlLabel (thx Richard)
  • Adds OS hand cursor support (thx Richard)
  • Fix events invocation race condition (thx Richard)
  • Improve extensibility by making methods protected virtual (thx Richard)
  • Use GenericTypographic format in GDI+ text redering for better layout.
  • Fully support GDI+ rendering for using in WinForms controls (configurable)

1.4.13.0

Choose a tag to compare

@ArthurHub ArthurHub released this 07 Mar 15:05
  • Improve GDI+ text rendering by rounding text position
  • Change GDI+ default TextRenderingHint to AntiAlias
  • Fix breaking urls when loading downloaded stylesheet
  • Add GetElementRectangle to HtmlPanel and HtmlLabel
  • Better handling when YouTube/Vimeo video returns Not Found
  • Properly handle white-space "pre-line" and "pre-wrap" styles
  • Fix html comment handling
  • Fix case-senssitive url in css not working properly

1.4.12.0

Choose a tag to compare

@ArthurHub ArthurHub released this 19 Jan 10:27
  • fix BitBlt signature to resolve PInvoke unstable debug issue
  • fix render to image no filling min width
  • fix RenderToImageGdiPlus not actually using GDI+
  • add GetElementRectangle to get element rectangle by element id
  • add ScrollToElement to scroll HtmlPanel to specific element by id
  • fix GetAttributeAt not working for some elements (images/frames)

1.4.11.0

Choose a tag to compare

@ArthurHub ArthurHub released this 20 Dec 16:22
  • Add GDI+ text rendering support
  • Add GDI+ static rendering methods in HtmlRender
  • Add RenderToImage on existing image to act as background
  • Add support for synchronous image loading, used by HtmlRender.
  • Add SelectedText, SelectedHtml to get selected text/html.
  • Improve HtmlRender documentation
  • Handle relative URLs in downloaded stylesheet.
  • Fix html attributes case sensitivity
  • Fix element height not respected
  • Fix index out of range exception in table layout (thx Kublia)
  • Fix error with empty lines and RTL
  • Fix floating point values handling
  • Fix mm and cm units factor
  • Fix table width not respected and incorrect unit handling
  • Fix table columns width incorrect unit handling
  • Handle when all table cells width is provided but smaller than set table width

1.4.10.0

Choose a tag to compare

@ArthurHub ArthurHub released this 30 Nov 16:25
  • Fix invalid table width detection (Thx Nikolay!)
  • Fix tooltip popup possition
  • Add tooltip CSS class change support

1.4.9.0

Choose a tag to compare

@ArthurHub ArthurHub released this 18 Nov 12:30
  • fix error in html parsing with single tags having closing tag as well
  • fix rendering error for html without root element
  • change the order of filling background (first) color and drawing background image (second)
  • fix br tags handling (not creating empty lines in some cases)
  • fix incorrect box width calculation in some cases
  • fix text selection on scrollbars click/drag
  • fix selection not clearing after selection text by going outside of control bound and then clicking on selected text

1.4.8.0

Choose a tag to compare

@ArthurHub ArthurHub released this 19 Oct 15:23
  • added HtmlRender.RenderToImage to handle GDI text rendering into an image (AA isues).
  • fix static render not disposing HtmlComponent.
  • propagate LinkClicked exception from client intercept.
  • fix rounding issues with borders, background and images.

1.4.7.0

Choose a tag to compare

@ArthurHub ArthurHub released this 23 Sep 16:21
  • Fix RTL support
  • Fix padding on line wrap
  • Fix div height limit with overflow: hidden
  • Fix table layout issues
  • Fix table width not handling colspan correctly
  • Fix mouse cursor change on links
  • Fix anchor link not always working
  • Update sample htmls