Skip to main content
Participant
November 10, 2025

Photoshop CEP - How to preserve kerning after changing text content?

  • November 10, 2025
  • 1 reply
  • 35 views

I tried different approaches to preserve "set kerning between two characters" options. For some reason after I change text inside textItem and try to preserve styles - it changes from "Optical" to "Metrics". How do I overcome this behaviour? Nowhere in code I set kerning option to metrics and I expect it to be saved. It is not in 100% of cases. I attached file with reproduction. For first string in file - everything works as expected - for second kerning changes.  

    1 reply

    Participant
    November 10, 2025

    Can not attach psd file here. 
    Both strings are the same, but one is created myself and is working - other is copied from other file and does not preserve kerning. I checked properties on the UI of Photoshop. Where else can I check properties of text item to find differences?