Skip to content

Conversation

@vladimir-litvinchik
Copy link
Collaborator

@vladimir-litvinchik vladimir-litvinchik commented Oct 21, 2025

PR overview

This PR fixes printing in image mode, adds new option to control UI behavior when scrolling pages, improves performance when rendering to images and makes UI more portable by using own fonts instead of loading fonts from web.

🛠️ Changes

1️⃣ Fixed Printing in Image Mode

Several issues related to printing in image mode were reported on our Free Support Forum in this topic and have been fixed in this release.

Issue 1: Broken print functionality — open a file, select different pages, and click Print — nothing happens.
Issue 2: Page numbers in the print dialog no longer updated as before.

Both issues are now resolved.
The following image shows the printing process:

print-png-or-jpeg

2️⃣ Added Option to Disable Page Scroll Animation

By default, there is a scroll animation when changing pages, as shown below:

scroll-animation-enabled

To disable the animation and instantly navigate to a page, set EnableScrollAnimation to false:

builder.Services
   .AddGroupDocsViewerUI(config =>
   {
       config.EnableScrollAnimation = false;
   });

When the animation is disabled, page navigation behaves as follows:

scroll-animation-disabled

3️⃣ Turned Off Thumbnail Creation in Image Mode

Thumbnails are only required when rendering to HTML with embedded or external resources.
When rendering to JPG or PNG, the actual page image is now used as a thumbnail to improve performance.

4️⃣ Use Only Local Fonts

The previous version used web fonts instead of local ones, which led to one of the issues reported in #75.

web-fonts-issue

This issue has been fixed by using only local fonts.

@vladimir-litvinchik vladimir-litvinchik merged commit e0e0575 into main Oct 21, 2025
1 check passed
@vladimir-litvinchik vladimir-litvinchik deleted the 8.1.2 branch October 21, 2025 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants