Merge branch 8.1.2 into main #76
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
2️⃣ Added Option to Disable Page Scroll Animation
By default, there is a scroll animation when changing pages, as shown below:
To disable the animation and instantly navigate to a page, set
EnableScrollAnimationtofalse:When the animation is disabled, page navigation behaves as follows:
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.
This issue has been fixed by using only local fonts.