VahidN / iTextSharp.LGPLv2.Core

iTextSharp.LGPLv2.Core is an unofficial port of the last LGPL version of the iTextSharp (V4.1.6) to .NET Core
Other
615 stars 154 forks source link

how the html2pdf display chinese characters? #106

Closed gang89liu closed 2 years ago

gang89liu commented 2 years ago

I use HtmlWorker , how can i set chinese font, should i set every IElement font ?

var objects = HtmlWorker.ParseToList( new StringReader(createHtmlSnippet()), styles //,props );

gang89liu commented 2 years ago

i find Verify_Unicode_Html_To_Pdf_CanBeCreated()