Skip to content

Commit 0915814

Browse files
author
ArthurHub
committed
* fix RenderToImageGdiPlus not actually using GDI+
1 parent 8e9fa33 commit 0915814

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Source/HtmlRenderer/HtmlRender.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -548,6 +548,7 @@ public static Image RenderToImageGdiPlus(string html, Size minSize, Size maxSize
548548
{
549549
container.AvoidAsyncImagesLoading = true;
550550
container.AvoidImagesLateLoading = true;
551+
container.UseGdiPlusTextRendering = true;
551552

552553
if( stylesheetLoad != null )
553554
container.StylesheetLoad += stylesheetLoad;

0 commit comments

Comments
 (0)