We're sorry GroupDocs doesn't work properply without JavaScript enabled.

Free Support Forum - groupdocs.com

Characters shifting when converting certain PDF to HTML in .NET

Some characters are shifting to the left, or to a line below in the attached PDF:
PDF chars shifting.zip (1.3 MB)
(I also added the generated output files)

Here you can see single shifted characters:
image.jpg (237.2 KB)

Here the whole paragraph somehow shifted, so there is a big empty space on the right side
image.jpg (88.4 KB)

The issue happens when converting to HTML with GroupDocs.Viewer 22.7, without any special options:

        using (var viewer = new Viewer(documentPath))
            var options = HtmlViewOptions.ForEmbeddedResources("output_viewer{0}.html");

Can you please take a look and fix this if possible? Thanks :slight_smile:


We could reproduce this issue at our end. It’s been logged in our internal issue tracking system with ID VIEWERNET-4028. As there’s any update, you’ll be notified.

1 Like