Free Support Forum -

Japanese Space is showing as lines in IE 11 when generating a HTML pages from PDF files

There is an issue where If generating HTML with GroupDocs.Viewer .Net 20.1.0 from a source PDF file, it will not generate Japanese Space correctly. Looking at the HTML it is shown as a square (missing character).
In IE 11 this renders as extra lines around the missing character. While in Firefox and Chrome based browsers nothing is shown.

I have attached the files i used to test with (45.0 KB)

Example source code is as following
SaveOutputParameters output = null;

        using (var stream = File.OpenRead(".\\Data\\日本語のスペーステスト年月日.docx"))
            LoadOptions lo = new LoadOptions();
            lo.WarningCallback = new WarningMessage();
            Aspose.Words.Document wordDoc = new Aspose.Words.Document(stream, lo);
            PdfSaveOptions saveOptions = new PdfSaveOptions();

            output = wordDoc.Save(".\\Data\\日本語のスペーステスト年月日.pdf", saveOptions);

        GroupDocs.Viewer.Options.LoadOptions loadOptions = new GroupDocs.Viewer.Options.LoadOptions()
            Encoding = Encoding.UTF8,

        using (var stream = File.OpenRead(".\\Data\\日本語のスペーステスト年月日.pdf"))
            using (var viewer = new GroupDocs.Viewer.Viewer(() => stream, () => loadOptions))
                GroupDocs.Viewer.Options.HtmlViewOptions options = GroupDocs.Viewer.Options.HtmlViewOptions.ForEmbeddedResources(".\\data\\lines_pdf_page_{0}.html");

                // generate the pages.
                viewer.View(options, new int[1] { 1 });
1 Like


This issue is reproduced at our end. Hence, it has been logged in our internal issue tracking system with ID VIEWERNET-2322. As there is any further update, you’ll be notified.


Your reported issue VIEWERNET-2322 is fixed in API version 20.4.