Problem change font when updating text


#1

Hi
Aspose.PSD.Net Version 19.5

There is a problem that font are changed to default font when text changes in the text layer.
The font is a korean font.

        using (PsdImage psdImage = (PsdImage)Image.Load("layers_korean.psd"))
        {
            foreach (var layer in psdImage.Layers)
            {
                if (layer is TextLayer)
                {
                    TextLayer textLayer = layer as TextLayer;
                    textLayer.UpdateText("test update", new Point(0, 0), 15.0f, Color.Purple);
                }
            }

            psdImage.Save(dataDir + "UpdateTextLayerInPSDFile_out.psd");
        }

Attach font and PSD file to compressed file.Test Data.zip (333.7 KB)


#2

@hunsup,

I have worked with the sample file shared and have been able to observe the issue. An issue with ID PSDNET-163 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.