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

HTML to PDF - Font become bold in PDF #161

Open itkmanoj opened 5 years ago

itkmanoj commented 5 years ago

I am just converting HTML to PDF using HTML Renderer. However i am getting bold letters when we generate PDF in Demo Application. However it works correctly browser though Show Browser button or Open External button.

I am trying this only in Demo Application not any specific written code by myself.

Left Side of Screenshot is PDF and Right Side is Browser.

I have attached HTML Code here HTML.txt

This is my screenshot Example

Please help me to identify root cause of the issue.

robertosalemi commented 4 years ago

Hi! Have you resolved? I have the same problem, bold is not show in any way, I tried with b or strong tag and style font-weight: bold. Nothing!

lbuczko commented 3 years ago

@itkmanoj - please remove in style "font-weight: 400;" and you won't get bold letters.