ArthurHub / HTML-Renderer

Cross framework (WinForms/WPF/PDF/Metro/Mono/etc.), Multipurpose (UI Controls / Image generation / PDF generation / etc.), 100% managed (C#), High performance HTML Rendering library.
https://htmlrenderer.codeplex.com/
BSD 3-Clause "New" or "Revised" License
1.26k stars 527 forks source link

line-height property does not work in first run after build or save file in a new folder #192

Open nguyen8tn opened 2 years ago

nguyen8tn commented 2 years ago

This is the first run image

This is the second image

My command: TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdf("<style type=\"text/css\">* { line-height:3!important; }

asd aaaaaaaaaasda aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaasdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd

", config);

Thanks for the help