---
title: "2022.2 release notes"
canonical_url: "https://www.nutrient.io/guides/web/release-notes/2022-2/"
md_url: "https://www.nutrient.io/guides/web/release-notes/2022-2.md"
last_updated: "2026-05-26T12:37:25.563Z"
description: "Discover new features and fixes in PSPDFKit for Web 2022.2, including text selection improvements for rotated documents."
---

# Enhancements in PSPDFKit for Web 2022.2

[PSPDFKit for Web 2022.2](https://www.nutrient.io/blog/pspdfkit-web-2022-2-annotation-toolbar-customization/) introduces some new APIs and includes several bug fixes. We recommend verifying your implementation to check if it needs updating.

## Rotated document

This release fixes an issue with text rotation.

When text was found on a rotated page, the text was assumed to follow the page rotation, and therefore selected text would be rotated with the page. However, it turned out that the majority of the time, even though the page had been rotated, the text itself followed the usual flow of the page — in most cases, top to bottom. As a result, text selection was compromised and difficult.

From this release on, text is assumed to always be laid out from top to bottom, regardless of the page rotation. If your implementation relies on the former behavior, we suggest you use the UI layout buttons to rotate the document view, which can be [programmatically set by modifying the current `viewState`](https://www.nutrient.io/api/web/classes/NutrientViewer.ViewState.html#pagesrotation):

```js

// Rotate document view to 90 degrees.
instance.setViewState((viewState) =>
  viewState.set("pagesRotation", 90)
);

```

## Ink signature resizing

This release improves the ink signature UI resizing by keeping its aspect ratio when resized with any resize handler.

It’ll no longer be possible to modify the aspect ratio of an ink annotation when resized with the UI if its [`isSignature`](https://www.nutrient.io/api/web/classes/NutrientViewer.Annotations.InkAnnotation.html#issignature) property is set to `true`, which is the default for signatures created with the Electronic Signatures dialog.

If you want to allow the users to modify the aspect ratio of those ink annotations when they resize them, you can enable this by setting the ink annotation’s `isSignature` property to `false`. Once resized, you can restore the flag to `true` if needed.

## Form filling permissions

This release fixes an issue where form field value editing with the UI was incorrectly disabled for certain document permissions.

This change fixed a bug where forms were incorrectly set to “read only” for certain document permission combinations:

- When the “modification” permission wasn’t set (should still be fillable if either “fill forms” or “annotations and forms” permissions were set).

- When the “fill forms” permission was set, and the “modification” and “annotations and forms” permissions weren’t set.

If your implementation relies on the former behavior, you can emulate it by explicitly setting the form field’s [`readOnly`](https://www.nutrient.io/api/web/classes/NutrientViewer.FormFields.FormField.html#readonly) property to `true` if your license allows form editing. Or, you can disallow editing its value using the [`isEditableAnnotation()`](https://www.nutrient.io/api/web/interfaces/Configuration.html#iseditableannotation) configuration callback.

## Print arguments

Starting with this release, [`NutrientViewer.Instance#print`](https://www.nutrient.io/api/web/classes/NutrientViewer.Instance.html#print) now accepts an options object as an argument instead of a string.

Before:

```js

instance.print(NutrientViewer.PrintMode.EXPORT_PDF);

```

Now:

```js

instance.print({
  mode: NutrientViewer.PrintMode.EXPORT_PDF
});

```

For a full list of changes, check out the [changelog](https://www.nutrient.io/guides/web/changelog.md#2022.2).

## Migrate PSPDFKit Server

For more information, take a look at the [PSPDFKit Server 2022.2 migration guide](https://www.nutrient.io/guides/product-archives-and-deprecated-solutions.md).
---

## Related pages

- [1 10](/guides/web/release-notes/1-10.md)
- [1 1](/guides/web/release-notes/1-1.md)
- [1 13 1](/guides/web/release-notes/1-13-1.md)
- [1 0](/guides/web/release-notes/1-0.md)
- [1 12](/guides/web/release-notes/1-12.md)
- [1 11](/guides/web/release-notes/1-11.md)
- [1 15](/guides/web/release-notes/1-15.md)
- [1 13](/guides/web/release-notes/1-13.md)
- [1 14](/guides/web/release-notes/1-14.md)
- [1 3](/guides/web/release-notes/1-3.md)
- [1 2](/guides/web/release-notes/1-2.md)
- [1 5](/guides/web/release-notes/1-5.md)
- [1 4](/guides/web/release-notes/1-4.md)
- [1 8](/guides/web/release-notes/1-8.md)
- [1 6](/guides/web/release-notes/1-6.md)
- [1 7](/guides/web/release-notes/1-7.md)
- [Update your PSPDFKit for Web to version 2017.7](/guides/web/release-notes/2017-7.md)
- [1 9](/guides/web/release-notes/1-9.md)
- [2017 6](/guides/web/release-notes/2017-6.md)
- [New features in the 2018.1 migration guide](/guides/web/release-notes/2018-1.md)
- [2017 3](/guides/web/release-notes/2017-3.md)
- [Explore PSPDFKit for Web 2018.4 features](/guides/web/release-notes/2018-4.md)
- [Upgrade annotations in PSPDFKit Web 2017.8](/guides/web/release-notes/2017-8.md)
- [Discover the new features in PSPDFKit for Web 2018.3](/guides/web/release-notes/2018-3.md)
- [Explore new features in PSPDFKit for Web 2017.9](/guides/web/release-notes/2017-9.md)
- [PSPDFKit for Web 2018.2 migration insights](/guides/web/release-notes/2018-2.md)
- [Explore PSPDFKit for Web 2018.6 enhancements](/guides/web/release-notes/2018-6.md)
- [Key updates in PSPDFKit for Web 2019.1](/guides/web/release-notes/2019-1.md)
- [Explore the new features in PSPDFKit 2018.7](/guides/web/release-notes/2018-7.md)
- [2019 2](/guides/web/release-notes/2019-2.md)
- [Explore new features in PSPDFKit 2018.5](/guides/web/release-notes/2018-5.md)
- [PSPDFKit for Web 2019.5 migration insights](/guides/web/release-notes/2019-5.md)
- [PSPDFKit for Web 2019.3 migration highlights](/guides/web/release-notes/2019-3.md)
- [Seamless migration to PSPDFKit for Web 2020.2](/guides/web/release-notes/2020-2.md)
- [Upgrade to PSPDFKit Web 2020.3 seamlessly](/guides/web/release-notes/2020-3.md)
- [Essential updates in PSPDFKit for Web 2019.4](/guides/web/release-notes/2019-4.md)
- [PSPDFKit Web and Server 2020.4 migration update](/guides/web/release-notes/2020-4.md)
- [Key changes in PSPDFKit for Web 2020.1](/guides/web/release-notes/2020-1.md)
- [PSPDFKit Web 2020.6 migration insights](/guides/web/release-notes/2020-6.md)
- [Migration guide for PSPDFKit 2021.5](/guides/web/release-notes/2021-5.md)
- [Unified CRUD API enhancements for easy migration](/guides/web/release-notes/2020-5.md)
- [Upgrade to PSPDFKit for Web 2021.1 with ease](/guides/web/release-notes/2021-1.md)
- [2021 3](/guides/web/release-notes/2021-3.md)
- [PSPDFKit 2022.1.1 migration changes](/guides/web/release-notes/2022-1.md)
- [Seamlessly migrate to PSPDFKit for Web 2021.2](/guides/web/release-notes/2021-2.md)
- [2021 6](/guides/web/release-notes/2021-6.md)
- [PSPDFKit 2021.4 migration guide for seamless updates](/guides/web/release-notes/2021-4.md)
- [Explore the new features of PSPDFKit for Web 2022.3](/guides/web/release-notes/2022-3.md)
- [Discover the key updates in PSPDFKit for Web 2023.1](/guides/web/release-notes/2023-1.md)
- [PSPDFKit for Web 2022.4 migration overview](/guides/web/release-notes/2022-4.md)
- [Explore key updates in PSPDFKit for Web 2023.4](/guides/web/release-notes/2023-4.md)
- [Key improvements in PSPDFKit for Web 2022.5](/guides/web/release-notes/2022-5.md)
- [PSPDFKit 2023.2 migration and updates](/guides/web/release-notes/2023-2.md)
- [Essential Nutrient Web SDK 2024.1 migration tips](/guides/web/release-notes/2024-1.md)
- [Key updates in PSPDFKit for Web 2023.3](/guides/web/release-notes/2023-3.md)
- [Key updates in PSPDFKit for Web 2023.5](/guides/web/release-notes/2023-5.md)
- [2024 2](/guides/web/release-notes/2024-2.md)
- [2024 4](/guides/web/release-notes/2024-4.md)
- [2024 5](/guides/web/release-notes/2024-5.md)
- [2024 7](/guides/web/release-notes/2024-7.md)
- [2024 3](/guides/web/release-notes/2024-3.md)
- [Upgrading Nutrient Web SDK](/guides/web/release-notes/upgrading.md)
- [2024 8](/guides/web/release-notes/2024-8.md)

