Bold formatting moved from one text portion to another

Hi!

We are trying to process the file from the archive attached using Aspose.PSD 22.7.0. After executing the code below, opening the generated file in Photoshop and letting it update the text layer,
the bold formatting moves from “regenerative agriculture” to “approach to industrial”.

var file = @"...";
AsposeLicenser.LoadLicense();
using (var image = Image.Load(file))
{
    if (image is PsdImage psdImage)
    {
        foreach (var layer in psdImage.Layers)
            if (layer is TextLayer textLayer)
                textLayer.TextData.UpdateLayerData();

        var imageOptions = new PsdOptions(psdImage);
        psdImage.Save(file + "-aftersave.psd", imageOptions);
    }
}

files.zip (120.7 KB)

Thanks for any help,
Arnold

@arnoldbeilandevozon I created the issue with the ID PSDNET-1240: Bold formatting moved from one text portion to another

We will made the investigation and then write you back.

Has this issue been resolved meanwhile? Would like to know the status of this issue, thank you!

@arnoldbeilandevozon
@IBurzoEvoRWS Aspose.PSD team make many updates of Text Rendering, but this specific task was not resolved. Please check the current result:
current_result.png (19.0 KB)

We have opened the following new ticket “Lines of text layer are rendered with incorrect leading” in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PSDNET-2587

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.