Free Support Forum - aspose.com

Fonts changed while updating text

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)

@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.

@hunsup,

I like to inform that we have investigated this issue on our end. I like to inform that this issue can be reproduced in case of machine which executes Aspose.PSD library only if machine hasn’t the “BMDoHyeon” font installed. If we install this font then Aspose.PSD will render updated text with this font and all will be fine. This is an expected behavior, because PSD file format doesn’t has the embedded fonts and they must be installed separately.