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");
            viewer.View(options);
        }

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

@Clemens_Pestuka

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