# Changing text layer content changes the font size after applying layer transformation

**URL:** <https://forums.creativeclouddeveloper.com/t/changing-text-layer-content-changes-the-font-size-after-applying-layer-transformation/11291>\
**Category:** Photoshop\
**Tags:** bug\
**Created:** [August 9, 2025, 7:19pm UTC](https://forums.creativeclouddeveloper.com/t/changing-text-layer-content-changes-the-font-size-after-applying-layer-transformation/11291 "2025-08-09T19:19:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marjan](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@Marjan](https://forums.creativeclouddeveloper.com/u/Marjan)\
**Post date:** [August 9, 2025, 7:19pm UTC](https://forums.creativeclouddeveloper.com/t/changing-text-layer-content-changes-the-font-size-after-applying-layer-transformation/11291/1 "2025-08-09T19:19:28Z")

</div>

I’ve stumbled across a rather weird behavior when working with text layers that have been resized using a size transform.

The following attached gif shows this behavior.  
The first few updates do not change the font size as no transform has been made.  
After resizing the text layer, updates change the font size.

![photoshop-bug](https://us1.discourse-cdn.com/flex015/uploads/xdplugins/original/2X/6/67fc7e0f4674f0fe1a39fd3665c175c21c27b813.gif)

The underlying code is just assigning to the contents property of the layer’s [textItem](https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/textitem/#properties-1), so:

> _layer_.textItem.contents = _contents_;

in the shown example, the updated contents is the same as the existing contents.

My question is therefore:  
is this a bug, or is this expected behavior?
