The font of the content in the PDF to PNG conversion is SourceHanSansHWSC-Regular.otf font, and the PNG image is garbled after conversion.
Use font package for Source Black OTF
If the font is correct when converting Wo…...when converting Word to HTML, but the file layout is incorrect,...through all the pages of the PDF file for (int pageCount = 1; pageCount...